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

Re: 2.29.0.rc0.windows.1: Duplicate commit id error message when fetching

From
Derrick Stolee <stolee@gmail.com>
Date
Oct 9, 2020, 17:46 UTC
Message-ID
<64de22fd-2e1b-aaab-3a8e-f6f1d630a46e@gmail.com>
In-Reply-To
<2f30099a-4a3d-00f7-bb08-ca6c1f76bcd4@virtuell-zuhause.de>
On 10/9/2020 1:12 PM, Thomas Braun wrote:
Show 11 quoted lines
> Sure! Please find them attached. I retried with no jobs parameter as
> well, same issues.
> 
> I did some more bisecting of my git settings. And now it's getting
> embarrassing...
> 
> Can you reproduce it if you do
> 
> git config core.commitGraph false
> git config fetch.writeCommitGraph true
> ?

I _can_ repro it in this case! I think there must be something very interesting going on where the commit-graph is parsed in _some_ places, but not in others. This is something that I can really start to dig into.

It's important to note that the final "git fetch" adds a layer to the commit-graph chain even though we shouldn't be reading from the commit-graph file! This is an unusual situation that is unexpected, but should be handled correctly.

My gut reaction is to end early in any commit-graph write method when core.commitGraph is false. But that only papers over the real issue here. I'll keep digging.

Thanks for the logs, they may come in handy! -Stolee

Previous: Thomas BraunNext: Jeff King
Message 10 of 14 in “2.29.0.rc0.windows.1: Duplicate commit id error message when fetching”
  1. Thomas BraunOct 7, 2020
  2. Jeff KingOct 7, 2020
  3. Thomas BraunOct 8, 2020
  4. Jeff KingOct 8, 2020
  5. Derrick StoleeOct 8, 2020
  6. Derrick StoleeOct 8, 2020
  7. Thomas BraunOct 9, 2020
  8. Derrick StoleeOct 9, 2020
  9. Thomas BraunOct 9, 2020
  10. Derrick StoleeOct 9, 2020
  11. Jeff KingOct 9, 2020
  12. Taylor BlauOct 9, 2020
  13. Derrick StoleeOct 9, 2020
  14. Taylor BlauOct 9, 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.