summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: df90449)
raw | patch | inline | side by side (parent: df90449)
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:46 +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 0125f17fcd37b57742cd52ec79f9b9b4845a4363..22a6318421b889956742f820f2f3d75357bac46d 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) {}