From: Bryan Donlan Date: Wed, 22 Apr 2009 04:52:29 GMT Subject: Re: What's going on here? Bad repo, no error locally? Message-ID: <3e8340490904212152w4e308cf1wa0d20d05df3cbb48@mail.gmail.com> In-Reply-To: On Wed, Apr 22, 2009 at 12:37 AM, John M. Dlugosz wrote: > Bryan Donlan wrote: >> >> Extract the object on developer B's workstation: >> git cat-file blob  > blob.dat >> >> Copy it to upstream, then do: >> git hash-object -w blob.dat >> >> If all goes well, hash-object will give you back the blob's ID, and >> the repository will fsck cleanly again. > > Thanks, I was looking through the manual for that but wasn't sure how to put > it together. > > But, what could be wrong with B's repo that makes this happen repetetly?  I > assumed it was network SNAFU, but after restoring the upstream repo, his > push did it again. Theoretically, this should never happen :) Are you accessing the repo directly through a file share, or through a git-daemon connection? If the former, could something like a virus scanner be deleting loose objects, perhaps?