git gc error with git 2.37.2? (Introduced in 5a5ea141e7)
- From
- Paul 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