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

Re: How to stop sharing objects between repositories

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Aug 16, 2009, 12:30 UTC
Message-ID
<alpine.DEB.1.00.0908161429590.8306@pacific.mpi-cbg.de>
In-Reply-To
<20090816122842.GA942@sigill.intra.peff.net>
Hi,
On Sun, 16 Aug 2009, Jeff King wrote:
Show 16 quoted lines
> On Sun, Aug 16, 2009 at 10:43:11AM +0200, Johannes Schindelin wrote:
> 
> > > If there's a better or built-in way to do this with Git tools, I'd like 
> > > to learn it, and I'd be happy to update the wiki accordingly.
> > 
> > I think what you need is done by
> > 
> > 	git repack -l
> > 
> > (I agree it is not well documented, and I'd welcome a documentation 
> > patch.)
> 
> I think it is the opposite; packing _without_ "-l" will create a pack
> with objects from the alternate; using "-l" suppresses them. Running
> "git repack -a" should do the trick, I believe (and you need the "-a" to
> ensure that objects already packed in the repo are re-packed).
Hmm.  I really would like a documentation patch, then.

Ciao, Dscho

Previous: Jeff KingNext: Daniel Villeneuve
Message 4 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.