Re: corrupt object on git-gc
- From
Mike Hommey <mh@glandium.org>
- Date
- Nov 9, 2007, 19:07 UTC
- Message-ID
- <20071109190707.GA17864@glandium.org>
- In-Reply-To
- <alpine.LFD.0.999.0711091050230.15101@woody.linux-foundation.org>
On Fri, Nov 09, 2007 at 10:55:03AM -0800, Linus Torvalds wrote:
Show 16 quoted lines
> > > 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 <commit>" > 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