git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PUB]corrupt repos does not return error with `git fsck`

From
FMFaheem Mitha <faheem@faheem.info>
Date
May 20, 2015, 19:13 UTC
Message-ID
<alpine.DEB.2.11.1505210040570.9343@orwell.homelinux.org>
In-Reply-To
<CAGZ79kb9xUZfa9923rrUP1x0T2=KzczmmNyYi5zD30mWKJ81KQ@mail.gmail.com>
On Wed, 20 May 2015, Stefan Beller wrote:
> On Wed, May 20, 2015 at 11:24 AM, Faheem Mitha <faheem@faheem.info> wrote:
>> 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.

Ok. See my reply to Matthieu Moy for context. I make have been taking too much for granted before posting to this list. Maybe I should have asked here first.

As I wrote to him, I can reconstruct the original setup if anyone thinks it is worthwhile trying to investigate further.

                                                    Regards, Faheem Mitha
Previous: Stefan BellerNext: Matthieu Moy
Message 16 of 19 in “corrupt repos does not return error with `git fsck`”
  1. Faheem MithaMay 20, 2015
  2. Matthieu MoyMay 20, 2015
  3. Johannes SchindelinMay 20, 2015
  4. Stefan BellerMay 20, 2015
  5. John KeepingMay 20, 2015
  6. Jeff KingMay 20, 2015
  7. Jeff KingMay 20, 2015
  8. Junio C HamanoMay 20, 2015
  9. Stefan BellerMay 20, 2015
  10. Junio C HamanoMay 20, 2015
  11. Stefan BellerMay 20, 2015
  12. Jeff KingMay 20, 2015
  13. Junio C HamanoMay 20, 2015
  14. Faheem MithaMay 20, 2015
  15. Stefan BellerMay 20, 2015
  16. Faheem MithaMay 20, 2015
  17. Matthieu MoyMay 20, 2015
  18. Faheem MithaMay 20, 2015
  19. Matthieu MoyMay 21, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.