missing object on git-gc

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

missing object on git-gc

From: Yossi Leybovich <hidden>
Date: 2016-06-15 22:43:48

I am running the git-gc tool over my repository and get the following error:
 
git-gc
...
deltifying 3308 objects...
error: corrupt loose object '<sha1>'
fatal: object <sha1> cannot be read .
error: failed to run repack
 
when sha1 is 40 bytes number 
 
Does any one know how I can solve thus issue?
 
Thanks
YOssi  

Re: missing object on git-gc

From: Christian Couder <hidden>
Date: 2016-06-15 22:43:48

There is an entry "How to fix a broken repository?" in the Git Faq on the 
wiki:

http://git.or.cz/gitwiki/GitFaq#head-ac11406480d09e2df98588e800e41b7256602074

Maybe it can help you.

The same topic has been discussed at least 3 times on the mailing list.
By the way, if you find these discussions on gmane, please tell us so that 
we can add the links to the FAQ entry. (You can also add them yourself.)

Thanks,
Christian.  

Le jeudi 8 novembre 2007, Yossi Leybovich a écrit :
I am running the git-gc tool over my repository and get the following
error: 
quoted
git-gc
...
deltifying 3308 objects...
error: corrupt loose object '<sha1>'
fatal: object <sha1> cannot be read .
error: failed to run repack
 
when sha1 is 40 bytes number
 
Does any one know how I can solve thus issue?
 
Thanks
YOssi
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help