diff options
author | Paul Mackerras <paulus@samba.org> | 2008-02-13 22:12:31 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-02-13 22:12:31 +1100 |
commit | b8a938cf78026eedafc202716b27986fdacb86e3 (patch) | |
tree | 531fd51fdeba0325d36fa2fc3f1c25e4790d9f3e /Makefile | |
parent | gitk: Fix bug causing Tcl error when no commits are selected (diff) | |
download | tgif-b8a938cf78026eedafc202716b27986fdacb86e3.tar.xz |
gitk: Fix cherry-picking to insert a real row not a fake row
The insertrow/removerow functions were really only suitable for
inserting/removing a fake row such as the ones used for showing
the local changes. When used to insert a real new row from a
cherry-pick, they left things in an inconsistent state which then
caused various strange layout errors.
This renames insertrow/removerow to insertfakerow/removefakerow
and adds a new insertrow that does actually go to all the trouble
of creating a new arc and setting it up. This is more work but
keeps things consistent.
This also fixes a bug where cherrypick was not setting mainheadid,
and one where selectline wasn't always resulting in targetrow/id
being set to the selected row/id. Also insert/removefakerow now
adjust numcommits and call setcanvscroll.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions