diff options
| author | Paul Mackerras <paulus@samba.org> | 2008-01-02 09:59:39 +1100 |
|---|---|---|
| committer | Paul Mackerras <paulus@samba.org> | 2008-01-02 09:59:39 +1100 |
| commit | 42a671fc006122159aec06da28045ffee49d3244 (patch) | |
| tree | d0a5d64b943e85bb3e3d98d2a72b1a3eab07eb20 /t/t4013/diff.format-patch_--inline_--stdout_initial..master | |
| parent | 33de5c0da8d8ea566ab8e8d91b513a98fceb414a (diff) | |
| download | git-42a671fc006122159aec06da28045ffee49d3244.tar.gz git-42a671fc006122159aec06da28045ffee49d3244.zip | |
gitk: Fix some corner cases in the targetid/targetrow stuff
* Make sure targetrow is never >= numcommits
* Don't try to do anything about the target row if the targetid is
no longer in the view; it'll just cause Tcl errors
* In insertrow, increment targetrow if we are inserting the fake
commit at or before the target row
* In removerow, if we are removing the target row, make it the next
one instead.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 't/t4013/diff.format-patch_--inline_--stdout_initial..master')
0 files changed, 0 insertions, 0 deletions
