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

Re: Massive repository corruptions

From
EWEnrico Weigelt <weigelt@metux.de>
Date
Jul 13, 2010, 06:46 UTC
Message-ID
<20100713064648.GD29392@nibiru.local>
In-Reply-To
<20100713053154.GC29392@nibiru.local>
* Enrico Weigelt <weigelt@metux.de> wrote:
Show 11 quoted lines
> * Enrico Weigelt <weigelt@metux.de> wrote:
> 
> <snip>
> 
> What's strange: 
> 
> when copying pack files from another machine to this box and
> run git index-pack there, it fails with the same error. 
> 
> also: pushing into a new (bare) repo sometimes fails with 
> inflate errors, sometimes succeeds but leaves an broken packfile.
Interesting: if I limit the pack size on the local repository,
and manually copy them over via scp, git index-pack runs fine
on them.

Subsequent push doesnt seem to recognize the already transferred packs and still sends the big one which gets broken, but running git-gc multiple times seems to clean up the mess.

Is there any way for limiting the pack size on push ? (pack.packSizeLimit only affects git-repack, not remote transfers).

cu
-- 
----------------------------------------------------------------------
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: weigelt@metux.de
 mobile: +49 151 27565287  icq:   210169427         skype: nekrad666
----------------------------------------------------------------------
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------
Previous: Enrico WeigeltNext: Valeo de Vries
Message 5 of 13 in “Massive repository corruptions”
  1. Enrico WeigeltJul 13, 2010
  2. Avery PennarunJul 13, 2010
  3. Enrico WeigeltJul 13, 2010
  4. Enrico WeigeltJul 13, 2010
  5. Enrico WeigeltJul 13, 2010
  6. Valeo de VriesJul 13, 2010
  7. Avery PennarunJul 13, 2010
  8. Enrico WeigeltJul 13, 2010
  9. Avery PennarunJul 13, 2010
  10. Enrico WeigeltJul 14, 2010
  11. Enrico WeigeltAug 5, 2010
  12. Enrico WeigeltAug 5, 2010
  13. Enrico WeigeltAug 5, 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.