list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
From: "René Scharfe" <>
To: Git Mailing List <>
Cc: "Junio C Hamano" <>,
	"Nguyễn Thái Ngọc Duy" <>
Subject: [PATCH 2/2] bisect: clear flags in passed repository
Date: Sat, 31 Oct 2020 13:31:25 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

69d2cfe6e8 (bisect.c: remove the_repository reference,
2018-11-10) kept the implicit the_repository reference lurking
in clear_commit_marks_all().  Replace it as well.

Signed-off-by: René Scharfe <>
 bisect.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bisect.c b/bisect.c
index ee7f7bd017..453bf10a0c 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);
 	/* Clean up objects used, as they will be reused. */
-	clear_commit_marks_all(the_repository, ALL_REV_FLAGS);
+	clear_commit_marks_all(r, ALL_REV_FLAGS);

 	return bisect_checkout(bisect_rev, no_checkout);

      reply	other threads:[~2020-10-31 12:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-31 12:21 [PATCH 1/2] object: allow clear_commit_marks_all() to handle any repo René Scharfe
2020-10-31 12:31 ` René Scharfe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \
    --subject='Re: [PATCH 2/2] bisect: clear flags in passed repository' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).