Skip to content

Commit f124e98

Browse files
committed
Merge git://git.kernel.org/pub/scm/gitk/gitk
* git://git.kernel.org/pub/scm/gitk/gitk: [PATCH] gitk: Heed the lines of context in merge commits
2 parents 413b90f + 6675ea4 commit f124e98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gitk-git/gitk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5032,13 +5032,14 @@ proc getblobline {bf id} {
50325032
proc mergediff {id l} {
50335033
global diffmergeid mdifffd
50345034
global diffids
5035+
global diffcontext
50355036
global parentlist
50365037
global limitdiffs viewfiles curview
50375038

50385039
set diffmergeid $id
50395040
set diffids $id
50405041
# this doesn't seem to actually affect anything...
5041-
set cmd [concat | git diff-tree --no-commit-id --cc $id]
5042+
set cmd [concat | git diff-tree --no-commit-id --cc -U$diffcontext $id]
50425043
if {$limitdiffs && $viewfiles($curview) ne {}} {
50435044
set cmd [concat $cmd -- $viewfiles($curview)]
50445045
}

0 commit comments

Comments
 (0)