summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 542ccef)
raw | patch | inline | side by side (parent: 542ccef)
author | Junio C Hamano <junkio@cox.net> | |
Mon, 3 Jul 2006 10:02:27 +0000 (03:02 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 3 Jul 2006 10:02:27 +0000 (03:02 -0700) |
Actually in this case we would have traversed a lot of commits, so cleaning
things up is even more important.
Signed-off-by: Junio C Hamano <junkio@cox.net>
things up is even more important.
Signed-off-by: Junio C Hamano <junkio@cox.net>
commit.c | patch | blob | history |
diff --git a/commit.c b/commit.c
index a608faf23217fadd42105d9eab96b28474930b69..12882fd496e5c18dacae76a6c68784700ce63721 100644 (file)
--- a/commit.c
+++ b/commit.c
}
if (!result)
- return NULL;
+ goto finish;
if (result->next && list)
mark_reachable_commits(result, list);
tmp = next;
}
+ finish:
if (cleanup) {
clear_commit_marks(rev1, PARENT1 | PARENT2 | STALE);
clear_commit_marks(rev2, PARENT1 | PARENT2 | STALE);