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

Re: Possible git bug in commit-graph: "invalid commit position"

From
Alex Riesen <alexander.riesen@cetitec.com>
Date
May 15, 2020, 12:03 UTC
Message-ID
<20200515120333.GA4677@pflmari>
In-Reply-To
<CAFChFyhZYm88cCo6X_XikT=HRQG9Pp0vyveXmAuComFUJYjRcA@mail.gmail.com>
Gary Oberbrunner, Tue, Feb 04, 2020 23:33:42 +0100:
> Sorry for the long reply delay; the bug went away and only just showed
> up again. Here's the info you requested.
> I'm now running git 2.25.0.
I hit a very similar problem today with 2.26.0. Also in a submodule.

Removing and regenerating the commit graph did not help and I did not have the commit-graphs directory (only a file). "git commit-graph verify" does not find anything. Switching writeCommitGraph on and regenerating the commit graph makes no difference.

I can trigger it reliably by visiting the broken(?) commit in supermodule with:
    git show --submodule=log <commit>

I see nothing special in the commit invovled. It is just a single commit in my case, and the commit is a merge of two branches.

Regards, Alex

Previous: Gary OberbrunnerNext: Michael Forney
Message 4 of 6 in “Fwd: Possible git bug in commit-graph: "invalid commit position"”
  1. Gary OberbrunnerJan 20, 2020
  2. Derrick StoleeJan 21, 2020
  3. Gary OberbrunnerFeb 4, 2020
  4. Alex RiesenMay 15, 2020
  5. Michael ForneyJun 21, 2020
  6. Derrick StoleeJun 22, 2020

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.