git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Bug in "revision.c: --all adds HEAD from all worktrees" ?

From
Duy Nguyen <pclouds@gmail.com>
Date
Mar 13, 2018, 11:22 UTC
Message-ID
<CACsJy8CQWBy71-TJCZ7aj4Kt8KawCAACLm3hBLnBX5L8jHv7_Q@mail.gmail.com>
In-Reply-To
<878taxq8gm.fsf@evledraar.gmail.com>

On Mon, Mar 12, 2018 at 10:39 PM, Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:

> Now, obviously the root cause is that the repo is corrupt through some
> other bug (since fixed?), but the error message here is really bad, and
> should at least say "fatal: bad object HEAD in worktree blah" or
> something like that.

I know. I know. I'm working on it. I hit a wall and had to re-think my approach, but I think it should be ok this time. Will be posting a series soonish, which should also fix fsck ignoring HEADs from other worktrees.

-- 
Duy
Previous: Ævar Arnfjörð Bjarmason
Message 9 of 9 in “Bug in "revision.c: --all adds HEAD from all worktrees" ?”
  1. Luke DiamandNov 13, 2017
  2. Luke DiamandNov 13, 2017
  3. Stefan BellerNov 13, 2017
  4. Luke DiamandNov 15, 2017
  5. Jeff KingNov 17, 2017
  6. Junio C HamanoNov 15, 2017
  7. Luke DiamandNov 16, 2017
  8. Ævar Arnfjörð BjarmasonMar 12, 2018
  9. Duy NguyenMar 13, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.