Hi all,

Thought I'd try here before trying the developers list.

When Running git 2.37.1, I can perform `git gc` on my repo:

git --version && git gc --prune=now

git version 2.37.1

Enumerating objects: 3411637, done.

Counting objects: 100% (3411637/3411637), done.

Delta compression using up to 12 threads

Compressing objects: 100% (792616/792616), done.

Writing objects: 100% (3411637/3411637), done.

Total 3411637 (delta 1845350), reused 3411637 (delta 1845350), pack-reused 0

Expanding reachable commits in commit graph: 151723, done.


However, when I upgrade to git 2.37.2, or 2.37.3, git gc suddenly starts to 
fail:

git version 2.37.2

Enumerating objects: 3411651, done.

Counting objects: 100% (3411651/3411651), done.

Delta compression using up to 12 threads

Compressing objects: 100% (792616/792616), done.

fatal: unable to read 1d0f34d1c4314efcff527847755e4ccc77d44fb6

fatal: failed to run repack


Note that git fsck --full does not complain, and says that everything is 
fine.

How can I work out what reference is causing this hash to be referenced? I 
would most likely be perfectly happy to drop whatever reference it is, if I 
could just move to a newer version of git, and continue using git gc.


Cheers,

Paul

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/cfc0b436-2f67-47be-a660-d076568cbae4n%40googlegroups.com.

Reply via email to