Re: [PUB]corrupt repos does not return error with `git fsck`
- From
Stefan Beller <sbeller@google.com>
- Date
- May 20, 2015, 18:54 UTC
- Message-ID
- <CAGZ79kb9xUZfa9923rrUP1x0T2=KzczmmNyYi5zD30mWKJ81KQ@mail.gmail.com>
- In-Reply-To
- <alpine.DEB.2.11.1505202341170.9343@orwell.homelinux.org>
On Wed, May 20, 2015 at 11:24 AM, Faheem Mitha <faheem@faheem.info> wrote:
Show 6 quoted lines
> So, is the repos corrupt or not? Also, I don't understand why you say > > There is no file 28/0c... however. > > Why would you expect there to be? I don't see it mentioned in that list. >
Each object is stored at .git/objects/<xz>/<tail> with <xz> being the first 2 characters of the sha1 and the tail the remaining 38 characters of the sha1. I did not draw a conclusion yet, as I needed to run for a meeting.
So the object you're looking for is not there (stating this as a fact). But why would you expect it to be there? At the time of sending the previous email I tried to do a reverse search "Give me all objects, which reference objectX" but did not succeed yet.
Stefan