summaryrefslogtreecommitdiff
path: root/git-gui/lib/commit.tcl
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2007-10-23 10:15:11 +1000
committerPaul Mackerras <paulus@samba.org>2007-10-23 10:15:11 +1000
commit7a39a17a873b818e3a4d121b3a43baf10f68cf61 (patch)
tree37c2900f1c5c1e6364002791f4aa8bfadb903c98 /git-gui/lib/commit.tcl
parente5ef6f952a13342065d44bab53999e8d8529cc3b (diff)
downloadgit-7a39a17a873b818e3a4d121b3a43baf10f68cf61.tar.gz
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>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions