Re: How to stop sharing objects between repositories
- From
Jeff King <peff@peff.net>
- Date
- Aug 16, 2009, 12:28 UTC
- Message-ID
- <20090816122842.GA942@sigill.intra.peff.net>
- In-Reply-To
- <alpine.DEB.1.00.0908161042210.8306@pacific.mpi-cbg.de>
On Sun, Aug 16, 2009 at 10:43:11AM +0200, Johannes Schindelin wrote:
Show 9 quoted lines
> > 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).
-Peff