summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1407ade)
raw | patch | inline | side by side (parent: 1407ade)
author | Johannes Sixt <johannes.sixt@telecom.at> | |
Wed, 13 Feb 2008 16:27:30 +0000 (17:27 +0100) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Wed, 13 Feb 2008 23:49:44 +0000 (10:49 +1100) |
There is an edit box where the number of context lines can be chosen.
But it was only used when regular diffs were displayed, not for
merge commits. This fixes it.
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Paul Mackerras <paulus@samba.org>
But it was only used when regular diffs were displayed, not for
merge commits. This fixes it.
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | patch | blob | history |
index 25ab725bba48e62f34f8a2fab56eda82fc77be48..f1f21e97bf5e89bd7609cf5b6d1f417e35a43b6c 100755 (executable)
--- a/gitk
+++ b/gitk
proc mergediff {id l} {
global diffmergeid mdifffd
global diffids
+ global diffcontext
global parentlist
global limitdiffs viewfiles curview
set diffmergeid $id
set diffids $id
# this doesn't seem to actually affect anything...
- set cmd [concat | git diff-tree --no-commit-id --cc $id]
+ set cmd [concat | git diff-tree --no-commit-id --cc -U$diffcontext $id]
if {$limitdiffs && $viewfiles($curview) ne {}} {
set cmd [concat $cmd -- $viewfiles($curview)]
}