Skip to content

Commit 0795df4

Browse files
rscharfegitster
authored andcommitted
bisect: clear flags in passed repository
69d2cfe (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent cd88884 commit 0795df4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bisect.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,7 @@ enum bisect_error bisect_next_all(struct repository *r, const char *prefix)
10901090
nr), nr, steps_msg);
10911091
free(steps_msg);
10921092
/* Clean up objects used, as they will be reused. */
1093-
repo_clear_commit_marks(the_repository, ALL_REV_FLAGS);
1093+
repo_clear_commit_marks(r, ALL_REV_FLAGS);
10941094

10951095
return bisect_checkout(bisect_rev, no_checkout);
10961096
}

0 commit comments

Comments
 (0)