summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2020-10-31 12:47:58 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-10-31 17:46:34 (GMT)
commit0795df4b9be87c1f552254664a575c76e2fbb10c (patch)
tree9e08c7b4c0c4aa207feee3a52e9e798d4efd4bf2
parentcd8888452cd0e09c9efdc22da729023ae255b54b (diff)
downloadgit-0795df4b9be87c1f552254664a575c76e2fbb10c.zip
git-0795df4b9be87c1f552254664a575c76e2fbb10c.tar.gz
git-0795df4b9be87c1f552254664a575c76e2fbb10c.tar.bz2
bisect: clear flags in passed repository
69d2cfe6e8 (bisect.c: remove the_repository reference, 2018-11-10) kept the implicit the_repository reference in clear_commit_marks_all, which was made explicit by the previous commit (and which also renamed it to repo_clear_commit_marks). Replace it as well. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--bisect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bisect.c b/bisect.c
index 3b763da..58bc9c7 100644
--- a/bisect.c
+++ b/bisect.c
@@ -1090,7 +1090,7 @@ enum bisect_error bisect_next_all(struct repository *r, const char *prefix)
nr), nr, steps_msg);
free(steps_msg);
/* Clean up objects used, as they will be reused. */
- repo_clear_commit_marks(the_repository, ALL_REV_FLAGS);
+ repo_clear_commit_marks(r, ALL_REV_FLAGS);
return bisect_checkout(bisect_rev, no_checkout);
}