summaryrefslogtreecommitdiff
path: root/gitk
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-06-01 00:02:13 (GMT)
committerPaul Mackerras <paulus@samba.org>2005-06-01 00:02:13 (GMT)
commitd4e95cb6cf0c65ec1e9e40ae967e128d7f0e45a9 (patch)
treec1c9b4aeab8cfa32c348da18ce36998d677ed32e /gitk
parentcfb4563c836b40dca2e1ef9d4ef3d2b943645edb (diff)
downloadgit-d4e95cb6cf0c65ec1e9e40ae967e128d7f0e45a9.zip
git-d4e95cb6cf0c65ec1e9e40ae967e128d7f0e45a9.tar.gz
git-d4e95cb6cf0c65ec1e9e40ae967e128d7f0e45a9.tar.bz2
cope with changed git-diff-tree output format
Diffstat (limited to 'gitk')
-rwxr-xr-xgitk11
1 files changed, 4 insertions, 7 deletions
diff --git a/gitk b/gitk
index a8c028b..f7ff049 100755
--- a/gitk
+++ b/gitk
@@ -7,7 +7,7 @@ exec wish "$0" -- "${1+$@}"
# and distributed under the terms of the GNU General Public Licence,
# either version 2, or (at your option) any later version.
-# CVS $Revision: 1.19 $
+# CVS $Revision: 1.20 $
proc getcommits {rargs} {
global commits commfd phase canv mainfont
@@ -448,7 +448,7 @@ Copyright 2005 Paul Mackerras
Use and redistribute under the terms of the GNU General Public License
-(CVS $Revision: 1.19 $)} \
+(CVS $Revision: 1.20 $)} \
-justify center -aspect 400
pack $w.m -side top -fill x -padx 20 -pady 20
button $w.ok -text Close -command "destroy $w"
@@ -1099,11 +1099,8 @@ proc gettreediffline {gdtf id} {
addtocflist $id
return
}
- set type [lindex $line 1]
- set file [lindex $line 3]
- if {$type == "blob"} {
- lappend treediffs($id) $file
- }
+ set file [lindex $line 5]
+ lappend treediffs($id) $file
}
proc getblobdiffs {id} {