summaryrefslogtreecommitdiffstats
path: root/gitk
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-04-23 14:47:07 +0200
committerPaul Mackerras <paulus@samba.org>2006-04-23 14:47:07 +0200
commitf3a2469b2583a88b84d12b1e819a177cf7d7670f (patch)
tree8ca578c06fdd2357b0a7038249674c5f8c4080c5 /gitk
parentgitk: Use git-rev-parse only to identify file/dir names on cmd line (diff)
parentgitk: Let git-rev-list do the argument list parsing (diff)
downloadgit-f3a2469b2583a88b84d12b1e819a177cf7d7670f.tar.xz
git-f3a2469b2583a88b84d12b1e819a177cf7d7670f.zip
Merge branch 'master' into new
Diffstat (limited to 'gitk')
-rwxr-xr-xgitk5
1 files changed, 3 insertions, 2 deletions
diff --git a/gitk b/gitk
index 6cefc87218..4ee51223b7 100755
--- a/gitk
+++ b/gitk
@@ -1361,11 +1361,12 @@ proc layoutrows {row endrow last} {
proc addextraid {id row} {
global displayorder commitrow commitinfo
- global commitidx
+ global commitidx commitlisted
global parentlist childlist children
incr commitidx
lappend displayorder $id
+ lappend commitlisted 0
lappend parentlist {}
set commitrow($id) $row
readcommit $id
@@ -1770,7 +1771,7 @@ proc drawcmittext {id row col rmx} {
proc drawcmitrow {row} {
global displayorder rowidlist
global idrangedrawn iddrawn
- global commitinfo commitlisted parentlist numcommits
+ global commitinfo parentlist numcommits
if {$row >= $numcommits} return
foreach id [lindex $rowidlist $row] {