Code

gitk: Fix bug causing undefined variable error when cherry-picking
authorPaul Mackerras <paulus@samba.org>
Wed, 29 Aug 2007 12:41:34 +0000 (22:41 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 29 Aug 2007 12:41:46 +0000 (22:41 +1000)
commit6eaaccd12846c5957c3433c773ad60b8a4196045
tree5ba7b283c00f8b09a9ea1ff9e847a7dc5a098bad
parentdf904497ecc15382199045bb257250c857f04eca
gitk: Fix bug causing undefined variable error when cherry-picking

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>
gitk