From: Junio C Hamano Date: Fri, 09 Nov 2007 17:45:56 GMT Subject: Re: corrupt object on git-gc Message-ID: <7vy7d7tiqz.fsf@gitster.siamese.dyndns.org> In-Reply-To: <6C2C79E72C305246B504CBA17B5500C9029A36F1@mtlexch01.mtl.com> "Yossi Leybovich" writes: > Just tried it : > > sleybo@SLEYBO-LT /w/work/EMC/ib.071030.001/ib > $ git-cat-file.exe -p 4b9458b3786228369c63936db65827de3cc06200 > error: corrupt loose object '4b9458b3786228369c63936db65827de3cc06200' > fatal: Cannot read object 4b9458b3786228369c63936db65827de3cc06200 > > Is this say something ? Linus gave a good description of how to diagnose and assess the extent of damage and potentially recover, so I won't repeat it, but I am more interested in understanding how the object got corrupted in the first place. One thing the above says, with the .exe extension, is that you are using it on some DOS derived platform. Is this Cygwin? Is this WinGit? Is this (infamous) "text mount"?