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

Corrupt pack file using older versions of git on a newer repo..

From
Sean <seanlkml@sympatico.ca>
Date
Dec 20, 2006, 13:27 UTC
Message-ID
<BAYC1-PASMTP11ADF6C984028A9DED853FAECF0@CEZ.ICE>

This is probably expected behavior, but when bisecting another Git issue[1], i found that after a fresh clone of the git repository using 1.4.4.2 I got the following corrupt pack file when accessing that repo with an old version of git:

$ git --version git version 1.4.2

$ git log fatal: corrupted pack file .git/objects/pack/pack-d75f6a8307f8d8ce9727fe27107486839c54aef6.pack

When reverting to 1.4.3 instead, a git reset triggered the corrupt pack error. Anyway, just a heads up in case it actually matters.

Sean

[1] The "Git" issue turned out not to be Git at all but rather the Beagle search daemon which seems to touch file stat information as it scans files in a git repo causing strange git status and diff

Next: Nicolas Pitre
Message 1 of 2 in “Corrupt pack file using older versions of git on a newer repo..”
  1. SeanDec 20, 2006
  2. Nicolas PitreDec 20, 2006

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.