aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-08-29 13:27:10 -0700
committerJunio C Hamano <gitster@pobox.com>2007-08-29 13:27:10 -0700
commit9656153b87d47b34986f2d77eef9199c24cbf9f6 (patch)
tree775cea8cee6dafafd27ab89da6c28e95da051c3a
parent7d37b5bf4eda8b2dcca371fb4b5ebd50fed64d67 (diff)
parent719c2b9d926bf2be4879015e3620d27d32f007b6 (diff)
downloadgit-9656153b87d47b34986f2d77eef9199c24cbf9f6.tar.gz
git-9656153b87d47b34986f2d77eef9199c24cbf9f6.tar.xz
Merge branch 'master' of git://git.kernel.org/pub/scm/gitk/gitk
* 'master' of git://git.kernel.org/pub/scm/gitk/gitk: gitk: Fix bug causing undefined variable error when cherry-picking
-rwxr-xr-xgitk3
1 files changed, 2 insertions, 1 deletions
diff --git a/gitk b/gitk
index b7730ae20..300fdceb3 100755
--- a/gitk
+++ b/gitk
@@ -6641,8 +6641,9 @@ proc splitarc {p} {
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) {}