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

corrupted repo and "git push --mirror"

From
Sitaram Chamarty <sitaramc@gmail.com>
Date
Oct 18, 2010, 04:08 UTC
Message-ID
<AANLkTikZEa4GeQHMXC2vBc8_+1208oEs7d-0KGXBw0p2@mail.gmail.com>

This is probably a stupid question, but in the spirit of extreme paranoia *and* because it's kinda hard to "try it and see", I'm going to risk the ridicule :)

Gitolite has mirroring support now, basically using "git push --mirror". The question I was asked, and I couldn't *confidently* answer, was: what happens if the source repo suffers some corruption for some reason? Does the corruption propagate?

I suspect not, but I'd appreciate corraboration and if anyone can sat what actually will happen that'd be great.

Secondary question: what happens if the receiving repo is corrupt?
Thanks!
-- 
Sitaram
Next: Ilari Liusvaara
Message 1 of 2 in “corrupted repo and "git push --mirror"”
  1. Sitaram ChamartyOct 18, 2010
  2. Ilari LiusvaaraOct 18, 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.