From: Mike Hommey Date: Fri, 09 Nov 2007 19:07:07 GMT Subject: Re: corrupt object on git-gc Message-ID: <20071109190707.GA17864@glandium.org> In-Reply-To: On Fri, Nov 09, 2007 at 10:55:03AM -0800, Linus Torvalds wrote: > > > On Fri, 9 Nov 2007, Yossi Leybovich wrote: > > > > What interesting is the second part of the experiment > > I tried to apply the same commit on this file and it leaded to different SHA1 > > Eh. That commit was basically corrupt, because the blob had gotten > removed. I don't even understand how git diff-tree gave a diff with that > file at all (side note: I'd also suggest you just use "git show " > instead of that complex and _really_ old git-diff-tree incantation). > > So no, you didn't "apply the same commit". > > But if you have the diff somewhere (perhaps email archive? you sent it to > somebody?) or you can re-create it exactly, then.. Or maybe just from memory, by looking at the diff between the previous version and the next version of the file. Mike