Re: corrupt object on git-gc
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Nov 9, 2007, 18:55 UTC
- Message-ID
- <alpine.LFD.0.999.0711091050230.15101@woody.linux-foundation.org>
- 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 <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..
Linus