From: Linus Torvalds Date: Fri, 09 Nov 2007 18:55:03 GMT Subject: Re: corrupt object on git-gc Message-ID: In-Reply-To: <4fe79b4b0711091037g8c6c048h29b7d387e75d62bb@mail.gmail.com> 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.. Linus