diff options
| author | Paul Mackerras <paulus@samba.org> | 2008-02-16 17:47:31 +1100 |
|---|---|---|
| committer | Paul Mackerras <paulus@samba.org> | 2008-02-16 22:22:22 +1100 |
| commit | f1bf4ee6d78209a1c45cca1bf3b38252208434d2 (patch) | |
| tree | 7a2b99c2f6222663857c65795e32f0fd86c47be3 /git-gui/lib/commit.tcl | |
| parent | gitk: Fix cherry-picking to insert a real row not a fake row (diff) | |
| download | git-f1bf4ee6d78209a1c45cca1bf3b38252208434d2.tar.gz git-f1bf4ee6d78209a1c45cca1bf3b38252208434d2.zip | |
gitk: Cope better with getting commits that we have already seen
This fixes a bug in updating the graph after we have cherry-picked
a commit in gitk and then added some new stuff externally. First,
we weren't updating viewincl with the new head added by the cherry-
pick. Secondly, getcommitlines was doing bad things if it saw a
commit that was already in the graph (was already in an arc). This
fixes both things. If getcommitlines sees a commit that is already
in the graph, it ignores it unless it was not listed before and is
listed now. In that case it doesn't assign it a new arc now, and
doesn't re-add the commit to its arc.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions
