Skip to content

Commit 1ce09dd

Browse files
drafnelpaulusmack
authored andcommitted
[PATCH] prefer "git COMMAND" over "git-COMMAND" in gitk
Preferring git _space_ COMMAND over git _dash_ COMMAND allows the user to have only git and gitk in their path. e.g. when git and gitk are symbolic links in a personal bin directory to the real git and gitk. Signed-off-by: Paul Mackerras <[email protected]>
1 parent e7a0919 commit 1ce09dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gitk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1906,7 +1906,7 @@ proc do_file_hl {serial} {
19061906
} else {
19071907
set gdtargs [list "-S$highlight_files"]
19081908
}
1909-
set cmd [concat | git-diff-tree -r -s --stdin $gdtargs]
1909+
set cmd [concat | git diff-tree -r -s --stdin $gdtargs]
19101910
set filehighlight [open $cmd r+]
19111911
fconfigure $filehighlight -blocking 0
19121912
fileevent $filehighlight readable readfhighlight
@@ -1958,7 +1958,7 @@ proc readfhighlight {} {
19581958
}
19591959
if {[eof $filehighlight]} {
19601960
# strange...
1961-
puts "oops, git-diff-tree died"
1961+
puts "oops, git diff-tree died"
19621962
catch {close $filehighlight}
19631963
unset filehighlight
19641964
}

0 commit comments

Comments
 (0)