All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <junkio@cox.net>
To: "Nguyen Thai Ngoc Duy" <pclouds@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Clueless bisect error message
Date: Wed, 11 Oct 2006 00:22:34 -0700	[thread overview]
Message-ID: <7vpsczuxj9.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <fcaeb9bf0610110008g642da719pb17f7f52169097e2@mail.gmail.com> (Nguyen Thai Ngoc Duy's message of "Wed, 11 Oct 2006 14:08:11 +0700")

"Nguyen Thai Ngoc Duy" <pclouds@gmail.com> writes:

> $ git bisect start
> won't bisect on seeked tree
>
> It complained because .git/head-name contained 't' which had been
> deleted before. git-bisect reset works. However I'd request git-bisect
> to inform more useful messages. At first, I was completely stunned:
> "what is a seeked tree? how can I fix that?"

Interesting.  There is certainly something clueless but I am not
sure if it is git-bisect.

Other git-core tools never create $GIT_DIR/head-name unless
bisect is in effect, and you end your bisect session by doing
"bisect reset" (otherwise there is no easy way to get back to
your original branch head).  How did head-name got 't' in it,
and how was branch 't' removed?

If the answer to the first question is because earlier you
created a temporary branch 't' to run a bisect, and the answer
to the latter is because you ended your bisect session by saying
"git checkout -f someotherbranch && git branch -D t", then we
should be able to fix that by removing head-name upon branch
switching with "git checkout".

By looking at commit 810255f, however, I suspect that fix would
break Cogito.  The wording of the message actually comes from
Cogito nomenclature.

  reply	other threads:[~2006-10-11  7:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-11  7:08 Clueless bisect error message Nguyen Thai Ngoc Duy
2006-10-11  7:22 ` Junio C Hamano [this message]
2006-10-11  7:50   ` Nguyen Thai Ngoc Duy
2006-10-11  8:11     ` Junio C Hamano
2006-10-11  8:30       ` Nguyen Thai Ngoc Duy
2006-10-11  9:14       ` Jeff King
2006-10-11 12:51         ` Krzysztof Halasa
2006-10-11 18:04           ` Jeff King

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=7vpsczuxj9.fsf@assigned-by-dhcp.cox.net \
    --to=junkio@cox.net \
    --cc=git@vger.kernel.org \
    --cc=pclouds@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.