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

Re: Inspecting a corrupt git object

From
AFAlejandro Riveira Fernández <ariveira@gmail.com>
Date
Aug 4, 2010, 09:48 UTC
Message-ID
<i3bd0r$g2l$1@dough.gmane.org>
In-Reply-To
<20100804092530.GA30070@jpl.local>
On Wed, 04 Aug 2010 11:25:30 +0200, Magnus Bäck wrote:
[ ... ]
Show 6 quoted lines
> 
> From what I gather from the community book and Pro Git, a git object
> file is a deflated representation of the object type as a string, the
> payload size, a null byte, and the payload. Is there a standard tool for
> inflating the file back so that I can inspect what the actual difference
> between these two are? Short of writing a tool utilizing zlib, at least.
 Maybe
 git cat-file -p <sha1>
 
 ?
> 
> Any other ideas why we would see such a difference? Hardware malfunction
> or memory corruption I guess, but something else? I can supply the
> actual object files if necessary.
Alejandro
Previous: Magnus BäckNext: Magnus Bäck
Message 2 of 6 in “Inspecting a corrupt git object”
  1. Magnus BäckAug 4, 2010
  2. Alejandro Riveira FernándezAug 4, 2010
  3. Magnus BäckAug 4, 2010
  4. Thomas RastAug 4, 2010
  5. Magnus BäckAug 4, 2010
  6. Holger HellmuthAug 4, 2010

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.