rowanj / gitx

Fork of Pieter's nice git GUI for OS X. Includes branch/tag sidebar and various fixes. Current development focus is on removing legacy git command line usage in favour of libgit2 and objective-git.
http://rowanj.github.com/gitx
Other
2.15k stars 205 forks source link

Single file history? #468

Open chris-robison opened 7 years ago

chris-robison commented 7 years ago

Not sure if this is the right place for this...

I started using your forked version of gitx after upgrading to Sierra and finding the original version no longer worked. Something I used to do all the time in that version was looking at the history of a single file with the following command: gitx -- path/to/file. That will still open gitx but it doesn't seem to show the history of the single file.

I am wondering if this is an actual issue or if I am just missing something. That feature was so powerful in resolving issues in projects and I am really missing it.

nunoguedelha commented 7 years ago

Hello @chris-robison , I'm having the very same issue on Yosemite 10.10.5 . Are you still experiencing the issue?

nunoguedelha commented 7 years ago

Actually, even after launching gitx without the optional <path/to/file>, it is possible to create a selection of the commits changing a given file. The 2 ways for creating such a selection are: 1) tree view

2) In the commit history pane

As a result, all the commits in the commit history pane get highlighted.

The only thing missing here is a filter for showing only the highlighted files. It could be a button like the for the filters "All" "local" "" on the top of the commit history pane.