From: Linus Torvalds <torvalds@osdl.org>
To: Mark E Mason <mark.e.mason@broadcom.com>
Cc: git@vger.kernel.org
Subject: RE: Fatal error from git bisect
Date: Thu, 9 Feb 2006 12:16:10 -0800 (PST) [thread overview]
Message-ID: <Pine.LNX.4.64.0602091210230.2458@g5.osdl.org> (raw)
In-Reply-To: <7E000E7F06B05C49BDBB769ADAF44D0773A4A8@NT-SJCA-0750.brcm.ad.broadcom.com>
On Thu, 9 Feb 2006, Mark E Mason wrote:
>
> I thought of that, but even removing the workspace file doesn't get
> around this:
That doesn't necessarily help. Removing the workspace file potentially
just makes the workspace even _more_ dirty, rather than less. It makes git
think you've edited the file that it wants to check out another verion of.
(Of course, an extra file can _also_ be a sign of being dirty, so
sometimes removing such a file _does_ generate a "more clean" tree).
Basically, "dirty" means that it doesn't match the head commit.
> I've made no commits to this tree - it's just an up-to-date pull of the
> linux-mips.org tree. I also have no local edits at this point.
>
> [mason@hawaii linux.git]$ git diff
> [mason@hawaii linux.git]$
>
> What's puzzling me is that (as I understand it) git bisect simply
> manipulates the workspace, not the repository.
Well, it doesn't _change_ the repository, but it does move around in it,
using "git-read-tree -u -m". That can error out if the old tree and the
new tree differs in a particular file, and the workspace doesn't match the
old tree in that file.
Now, it could be a git bug, but before you go there, try to make sure tat
your tree is really clean. Do a
git checkout -f master
followed by "git status" to make sure that the workspace is clean (no
unexpected untracked files, no diffs against HEAD, no nothing). The "git
checkout -f master" should have cleaned everything up, but it won't
actually touch extra files that it doesn't know about, so..
Linus
next prev parent reply other threads:[~2006-02-09 20:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-09 19:59 Fatal error from git bisect Mark E Mason
2006-02-09 20:16 ` Linus Torvalds [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-02-09 21:21 Mark E Mason
2006-02-09 21:32 ` Junio C Hamano
2006-02-09 18:51 Mark E Mason
2006-02-09 19:50 ` Linus Torvalds
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=Pine.LNX.4.64.0602091210230.2458@g5.osdl.org \
--to=torvalds@osdl.org \
--cc=git@vger.kernel.org \
--cc=mark.e.mason@broadcom.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 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 NNTP newsgroup(s).