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
This commit is contained in:
commit
f124e986cf
@ -5032,13 +5032,14 @@ proc getblobline {bf id} {
|
|||||||
proc mergediff {id l} {
|
proc mergediff {id l} {
|
||||||
global diffmergeid mdifffd
|
global diffmergeid mdifffd
|
||||||
global diffids
|
global diffids
|
||||||
|
global diffcontext
|
||||||
global parentlist
|
global parentlist
|
||||||
global limitdiffs viewfiles curview
|
global limitdiffs viewfiles curview
|
||||||
|
|
||||||
set diffmergeid $id
|
set diffmergeid $id
|
||||||
set diffids $id
|
set diffids $id
|
||||||
# this doesn't seem to actually affect anything...
|
# 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 {}} {
|
if {$limitdiffs && $viewfiles($curview) ne {}} {
|
||||||
set cmd [concat $cmd -- $viewfiles($curview)]
|
set cmd [concat $cmd -- $viewfiles($curview)]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user