author | Paul Mackerras <paulus@samba.org> | |
Tue, 23 Oct 2007 00:15:11 +0000 (10:15 +1000) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Tue, 23 Oct 2007 00:15:11 +0000 (10:15 +1000) | ||
commit | 7a39a17a873b818e3a4d121b3a43baf10f68cf61 | |
tree | 37c2900f1c5c1e6364002791f4aa8bfadb903c98 | tree | snapshot |
parent | e5ef6f952a13342065d44bab53999e8d8529cc3b | commit | diff |
gitk: Limit diff display to listed paths by default
When the user has specified a list of paths, either on the command line
or when creating a view, gitk currently displays the diffs for all files
that a commit has modified, not just the ones that match the path list.
This is different from other git commands such as git log. This change
makes gitk behave the same as these other git commands by default, that
is, gitk only displays the diffs for files that match the path list.
There is now a checkbox labelled "Limit diffs to listed paths" in the
Edit/Preferences pane. If that is unchecked, gitk will display the
diffs for all files as before.
When gitk is run with the --merge flag, it will get the list of unmerged
files at startup, intersect that with the paths listed on the command line
(if any), and use that as the list of paths.
Signed-off-by: Paul Mackerras <paulus@samba.org>
When the user has specified a list of paths, either on the command line
or when creating a view, gitk currently displays the diffs for all files
that a commit has modified, not just the ones that match the path list.
This is different from other git commands such as git log. This change
makes gitk behave the same as these other git commands by default, that
is, gitk only displays the diffs for files that match the path list.
There is now a checkbox labelled "Limit diffs to listed paths" in the
Edit/Preferences pane. If that is unchecked, gitk will display the
diffs for all files as before.
When gitk is run with the --merge flag, it will get the list of unmerged
files at startup, intersect that with the paths listed on the command line
(if any), and use that as the list of paths.
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | diff | blob | history |