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:34 +0000 (22:41 +1000)
commit719c2b9d926bf2be4879015e3620d27d32f007b6
treee764eff873f0791587db4543cefb8c54420dbc82
parent887c996e4698dcb7ee95c48a98f7da2c3bae158b
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