Re: How to stop sharing objects between repositories
- From
Jeff King <peff@peff.net>
- Date
- Aug 17, 2009, 06:32 UTC
- Message-ID
- <20090817063225.GA31533@coredump.intra.peff.net>
- In-Reply-To
- <20090817061916.GA27530@coredump.intra.peff.net>
On Mon, Aug 17, 2009 at 02:19:16AM -0400, Jeff King wrote:
Show 13 quoted lines
> 1. "git repack -a" is sufficient to break dependency, as it copies > both packed and loose objects > > 2. "git repack" _may_ break the dependency, if there are no packs, as > it copies only loose objects. It _may_ introduce inefficiency, but > only if there are loose objects. > > 3. "git repack -l" always keeps the dependency and current efficiency. > > As an aside, making this list makes me realize there is no easy > "keep the dependency and increase efficiency". In other words, pack > everything that is not available otherwise, and then prune the > remaining packs.
OK, I take it back. "git repack -d -l -A" will get rid of any packs that are redundant with your alternate.
-Peff