[BUG] git bisect start fails when stale bisect data is left behind
- From
- Joel Kaasinen <joel@zenrobotics.com>
- Date
- Sep 5, 2011, 11:15 UTC
- Message-ID
- <CAC6WLetwT9UvBY_=Nf38hhkyU1mhmdWHWqscf3ebba1WRGS1LQ@mail.gmail.com>
Hi,
Just bumped into a weird bug: bisect refused to start. It seems some previous bisect had left around state that referred to a now-nonexistent branch.
How to reproduce: $ echo foo > .git/BISECT_START $ git bisect start HEAD HEAD^
Fails with "fatal: invalid reference:" on git 1.7.6.
–J
PS. Please CC me when answering, I'm not subscribed