diff options
author | Christian Couder <chriscool@tuxfamily.org> | 2009-05-27 07:09:40 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-05-27 13:45:45 -0700 |
commit | 7a8e3895f68e9ae4e44e521c78fc98768c2a88ec (patch) | |
tree | 3adc4b131c6571c98e549afaa413dd210a706ebd /bisect.c | |
parent | 2d938fc7bcf2c8ce314c44955db5a4dd2e9b6adb (diff) | |
download | git-7a8e3895f68e9ae4e44e521c78fc98768c2a88ec.tar.gz |
bisect: drop unparse_commit() and use clear_commit_marks()
The goal of this patch series is to check if good revisions are
ancestor of the bad revision without forking a process to launch
"git rev-list $good ^$bad".
This new version of this patch series does not use an "unparse_commit"
function anymore, we use "clear_commit_marks" instead.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bisect.c')
-rw-r--r-- | bisect.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -771,7 +771,7 @@ static int check_ancestors(const char *prefix) /* Clean up objects used, as they will be reused. */ for (i = 0; i < pending_copy.nr; i++) { struct object *o = pending_copy.objects[i].item; - unparse_commit((struct commit *)o); + clear_commit_marks((struct commit *)o, ALL_REV_FLAGS); } return res; |