gitk: Fix a couple of bugs
authorPaul Mackerras <paulus@samba.org>
Thu, 27 Sep 2007 00:35:05 +0000 (10:35 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 27 Sep 2007 00:35:05 +0000 (10:35 +1000)
commitc73adce219ce52a662d90af1e1762c77ea5c4cb0
tree3b4e7ba164e7abf825c357c4abd5d3ead823b529
parent687c8765ec996225a01cadc7d91354ae3cfbdf8a
gitk: Fix a couple of bugs

insertrow and removerow were trying to adjust rowidlist, rowisopt
and rowfinal even if the row where we're inserting/deleting stuff
hasn't been laid out yet, which resulted in Tcl errors.  This fixes
that.

Also we weren't deleting the link$linknum tag in appendwithlinks,
which resulted in SHA1 IDs in the body of a commit message sometimes
getting shown in blue with underlining when they shouldn't.

Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk