[prev in list] [next in list] [prev in thread] [next in thread]
List: git
Subject: [PATCH v2 2/2] bisect: clear flags in passed repository
From: René_Scharfe <l.s.r () web ! de>
Date: 2020-10-31 12:47:58
Message-ID: 1d12a06f-b1ce-ae49-a18e-579d8def3133 () web ! de
[Download RAW message or body]
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=C3=A9 Scharfe <l.s.r@web.de>
=2D--
bisect.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bisect.c b/bisect.c
index 3b763dab6b..58bc9c73a4 100644
=2D-- 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);
}
=2D-
2.29.2
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic