diff options
| author | Lars Hjemli <hjemli@gmail.com> | 2008-05-12 17:12:36 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2008-05-12 16:24:51 -0700 |
| commit | ad1012ebde8be471098b5d476a98a02c76c8e75a (patch) | |
| tree | a19a3311e4beb6175be0f0e484c083af84ea0fce /git-svn.perl | |
| parent | Simplify and fix --first-parent implementation (diff) | |
| download | git-ad1012ebde8be471098b5d476a98a02c76c8e75a.tar.gz git-ad1012ebde8be471098b5d476a98a02c76c8e75a.zip | |
revision.c: really honor --first-parent
In add_parents_to_list, if any parent of a revision had already been
SEEN, the current code would continue with the next parent, skipping
the test for --first-parent. This patch inverts the test for SEEN so
that the test for --first-parent is always performed.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-svn.perl')
0 files changed, 0 insertions, 0 deletions
