Re: git bisect with temporary commits
- From
Andreas Schwab <schwab@linux-m68k.org>
- Date
- Dec 14, 2015, 20:17 UTC
- Message-ID
- <87lh8whjj2.fsf@igel.home>
- In-Reply-To
- <20151214182255.GB13519@tonks>
Florian Bruhin <me@the-compiler.org> writes:
> I see - but wouldn't it make more sense for a "git bisect good" (or > bad, respectively) without arguments to assume I mean the commit > bisect checked out for me, not HEAD?
The problem is that there is nothing that marks the originally checked out commit except by being pointed to by HEAD. Also, testing a different commit as the one suggested by git can be useful when skipping over commits that are known to fail for unrelated reasons (see "Avoiding testing a commit" in git-bisect(1)).
Andreas.
-- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."