summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 096e96b)
raw | patch | inline | side by side (parent: 096e96b)
author | Paul Mackerras <paulus@samba.org> | |
Mon, 9 Jul 2007 12:29:24 +0000 (22:29 +1000) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Mon, 9 Jul 2007 12:29:24 +0000 (22:29 +1000) |
In commit 66e46f37de3ed3211a8ae0e8fc09c063bc3a1e08 I changed gitk to
store ids in rowrangelist and idrowranges rather than row numbers,
but I missed two places in the layouttail procedure. This resulted
in occasional errors such as the "can't read "commitrow(0,8572)":
no such element in array" error reported by Mark Levedahl. This fixes
it by using the id rather than the row number.
Signed-off-by: Paul Mackerras <paulus@samba.org>
store ids in rowrangelist and idrowranges rather than row numbers,
but I missed two places in the layouttail procedure. This resulted
in occasional errors such as the "can't read "commitrow(0,8572)":
no such element in array" error reported by Mark Levedahl. This fixes
it by using the id rather than the row number.
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | patch | blob | history |
index 28a6bac3aa74b46faaddca721caef20962725f39..ee818647c494d0b42902c2387c37af92d1e7b57b 100755 (executable)
--- a/gitk
+++ b/gitk
set id [lindex $idlist $col]
addextraid $id $row
unset idinlist($id)
- lappend idrowranges($id) $row
+ lappend idrowranges($id) $id
lappend rowrangelist $idrowranges($id)
unset idrowranges($id)
incr row
lset rowidlist $row [list $id]
lset rowoffsets $row 0
makeuparrow $id 0 $row 0
- lappend idrowranges($id) $row
+ lappend idrowranges($id) $id
lappend rowrangelist $idrowranges($id)
unset idrowranges($id)
incr row