Re: corrupt object on git-gc
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Nov 9, 2007, 18:02 UTC
- Message-ID
- <alpine.LFD.0.999.0711091000310.15101@woody.linux-foundation.org>
- In-Reply-To
- <4fe79b4b0711090953h5b06f7d4l2d17972630a4d355@mail.gmail.com>
On Fri, 9 Nov 2007, Yossi Leybovich wrote:
Show 6 quoted lines
> > Ok, tried that and unfortuantly the SHA1 number is apear only one > > [mellanox@mellanox-compile ib]$ git log --raw --all --full-history -- > SymmK/St.c | grep 4b9 > :100755 100755 308806c... 4b9458b3786228369c63936db65827de3cc06200 M SymmK/St.c
Actually, that's not at all "unfortunately", because that implies that it's the very *latest* version of that "SymmK/St.c" file. I really think you already had it checked out, but didn't try my first suggestion of just doing "git hash-object -w SymmK/St.c" which likely would have fixed it already (unless you had changed it in your working tree, of course!)
Linus