summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 887c996)
raw | patch | inline | side by side (parent: 887c996)
author | Paul Mackerras <paulus@samba.org> | |
Wed, 29 Aug 2007 12:41:34 +0000 (22:41 +1000) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Wed, 29 Aug 2007 12:41:34 +0000 (22:41 +1000) |
When "Show nearby tags" is turned off and the user did a cherry-pick,
we were trying to access variables relating to the descendent/ancestor
tag & head computations in addnewchild though they hadn't been set.
This makes sure we don't do that. Reported by Johannes Sixt.
Signed-off-by: Paul Mackerras <paulus@samba.org>
we were trying to access variables relating to the descendent/ancestor
tag & head computations in addnewchild though they hadn't been set.
This makes sure we don't do that. Reported by Johannes Sixt.
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | patch | blob | history |
index b7730ae20224f8d91484caf40470ec3025aa0c48..300fdceb350ca6d0419ef3b0bf3f1e7b82700a59 100755 (executable)
--- a/gitk
+++ b/gitk
proc addnewchild {id p} {
global allids allparents allchildren idtags nextarc nbmp
global arcnos arcids arctags arcout arcend arcstart archeads growing
- global seeds
+ global seeds allcommits
+ if {![info exists allcommits]} return
lappend allids $id
set allparents($id) [list $p]
set allchildren($id) {}