From: Junio C Hamano Date: Thu, 15 Nov 2007 21:55:40 GMT Subject: Re: New repo quickly corrupted Message-ID: <7vejer41ib.fsf@gitster.siamese.dyndns.org> In-Reply-To: <31e9dd080711151350u6c2ae40foc7c05e59496260fa@mail.gmail.com> "Jason Sewall" writes: > find . -type f -exec dos2unix {} + > git commit -a --amend > [accept same message] > git fsck > [same error message as above] > > I just built my git today, unmodified: > git version 1.5.3.5.721.g039b > > What's going on? Carelessness is what is going on. Notice how nicely your "find . -type f -exec dos2unix {}" goes down to .git/objects and eats your loose objects You probably wanted to do git ls-files | xargs dos2unix instead.