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

Re: How to stop sharing objects between repositories

From
Jeff King <peff@peff.net>
Date
Aug 17, 2009, 07:50 UTC
Message-ID
<20090817075012.GA3437@sigill.intra.peff.net>
In-Reply-To
<7v1vna3nae.fsf@alter.siamese.dyndns.org>
On Mon, Aug 17, 2009 at 12:35:53AM -0700, Junio C Hamano wrote:
Show 10 quoted lines
> > Did you miss the part where I asked "should we include instructions to
> > the user on how to fix this"?
> 
> Actually, I didn't.  It is very hard to lose data once you put it in git;
> "by following recovery insn the user can redo" is often trivially correct
> thanks to it.
> 
> But it is not a very good option to cause the damage and then give
> recovery insn.  The user might have ran out of quota, and even if he
> didn't, he wasted needless cycles for the unwanted sort of repacking.

OK, let's forget the warning, then. Hopefully between the note under "clone -s" and the fact that most people should be using "git gc" these days, it won't be a big issue.

-Peff
Previous: Junio C HamanoNext: Jeff King
Message 15 of 18 in “How to stop sharing objects between repositories”
  1. Jon JensenAug 16, 2009
  2. Johannes SchindelinAug 16, 2009
  3. Jeff KingAug 16, 2009
  4. Johannes SchindelinAug 16, 2009
  5. Daniel VilleneuveAug 16, 2009
  6. Johannes SchindelinAug 16, 2009
  7. Jeff KingAug 16, 2009
  8. Junio C HamanoAug 16, 2009
  9. Mike GalbraithAug 17, 2009
  10. Jeff KingAug 17, 2009
  11. Mike GalbraithAug 17, 2009
  12. Junio C HamanoAug 17, 2009
  13. Jeff KingAug 17, 2009
  14. Junio C HamanoAug 17, 2009
  15. Jeff KingAug 17, 2009
  16. Jeff KingAug 17, 2009
  17. Jeff KingAug 17, 2009
  18. Jeff KingAug 17, 2009

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.