diff options
author | Paul Mackerras <paulus@samba.org> | 2007-08-13 14:52:00 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-08-13 14:52:00 +1000 |
commit | 7b459a1c1cc5401295e3adb12031e39e35712f4a (patch) | |
tree | a8c78e51e44dc5b44b4f90cd5a6ea05acfd9558f /builtin-rev-list.c | |
parent | [PATCH] gitk: Show an error and exit if no .git could be found (diff) | |
download | tgif-7b459a1c1cc5401295e3adb12031e39e35712f4a.tar.xz |
gitk: Fix bug introduced in commit 67a4f1a7
In fixing the "can't unset idinlist" error, I moved the setting of
idinlist into the loop that splits the parents into "new" parents
(i.e. those of which this is the first child) and "old" parents.
Unfortunately this is incorrect in the case where we hit the break
statement a few lines further down, since when we come back in,
we'll see idinlist($p) set for some parents that aren't in the list.
This fixes it by moving the loop that sets up newolds and oldolds
further down.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'builtin-rev-list.c')
0 files changed, 0 insertions, 0 deletions