Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitk: Fix diffing committed -> staged (typo in diffcmd)
[gitweb.git]
/
gitk
diff --git
a/gitk
b/gitk
index d40a7354892b77d5de24eaf118518f2ecb7cb942..785afd2235273af930f44c08d7b528f5ff3655f1 100755
(executable)
--- a/
gitk
+++ b/
gitk
@@
-7225,7
+7225,7
@@
proc diffcmd {ids flags} {
set cmd [concat | git diff-index --cached $flags]
if {[llength $ids] > 1} {
# comparing index with specific revision
- if {$
i
== 0} {
+ if {$
j
== 0} {
lappend cmd -R [lindex $ids 1]
} else {
lappend cmd [lindex $ids 0]