Re: git gc & deleted branches
- From
Jeff King <peff@peff.net>
- Date
- May 8, 2008, 21:17 UTC
- Message-ID
- <20080508211734.GA819@sigill.intra.peff.net>
- In-Reply-To
- <alpine.LFD.1.10.0805081712270.23581@xanadu.home>
On Thu, May 08, 2008 at 05:15:34PM -0400, Nicolas Pitre wrote:
Show 10 quoted lines
> > According to that commit message, prune is now a no-op. However, it > > looks like it is still used for trigger a "repack -a" rather than > > "repack -A". I don't know if it is worth making that behavior available > > Well, actually this is a problem. > > I think it is a good thing to deprecate gc --prune. but if that means > that repack -a is never used then unreferenced and expired objects will > never be pruned if they're packed if one is always using 'git gc' as we > are advocating.
I thought that -A would eventually put them all into a single pack, killing off the old packs.
-Peff