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

git gc error with git 2.37.2? (Introduced in 5a5ea141e7)

From
PWPaul Wagland <pwagland@gmail.com>
Date
Oct 17, 2022, 17:10 UTC
Message-ID
<2C46C994-6023-4C69-92DF-73291A6AF94D@gmail.com>
In-Reply-To
<ebb035c1-d313-4f8e-b850-a6e11eeb374bn@googlegroups.com>
Hi all,
On git-users, I started a discussion(*) about a git gc error that I was getting that started with git 2.37.2. After some followup from Mathias on that list, I have determined that the issues that I a having started with the following commit:  https://github.com/git/git/commit/5a5ea141e7 ("revision: mark blobs needed for resolve-undo as reachable", 2022-06-09)
When I compile git locally with:
   git checkout dc8c8deaa6
   make
   git rev-list --objects --indexed-objects
Then it works.
   git checkout 5a5ea141e7
   make
   git rev-list --objects --indexed-objects
Then I get the error:
   fatal: missing blob object ‘1d0f34d1c4314efcff527847755e4ccc77d44fb6'
How can I further diagnose how to fix this?

Cheers, Paul

(*) discussion on git-users: https://groups.google.com/g/git-users/c/MKpmgpSC7xw/m/R5rLYDxJAgAJ
Next: Jeff King
Message 1 of 3 in “git gc error with git 2.37.2? (Introduced in 5a5ea141e7)”
  1. Paul WaglandOct 17, 2022
  2. Jeff KingOct 17, 2022
  3. Paul WaglandOct 17, 2022

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.