[MacPorts] #54697: `port history` action

MacPorts noreply at macports.org
Wed Aug 30 10:00:00 UTC 2017


#54697: `port history` action
-------------------------+-----------------
 Reporter:  RJVB         |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  base         |    Version:
 Keywords:  haspatch     |       Port:
-------------------------+-----------------
 I often want to have a quick look at a port's commit history. I grew tired
 of the action sequence involved (figure out port directory, chdir into it,
 enter the desired git log command, restore working dir) so I cooked up a
 new little port action.

 {{{port history foo}}}

 dumps the commit history of the port directory with just a summary of the
 changes

 {{{port -v history foo}}}

 dumps the commit history including diffs. In this case I force the use of
 colour to make the output more readable.

 For now I just let the command fail without any particular feedback when
 the port directory is not in a git repo, suggestions welcome how to
 improve this.

--
Ticket URL: <https://trac.macports.org/ticket/54697>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list