Re: [PATCH] bash completion: remove deprecated --prune from git-gc
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 14, 2008, 11:17 UTC
- Message-ID
- <alpine.DEB.1.00.0812141216120.2014@eeepc-johanness>
- In-Reply-To
- <20081214111213.GA6499@coredump.intra.peff.net>
Hi,
On Sun, 14 Dec 2008, Jeff King wrote:
Show 12 quoted lines
> On Sun, Dec 14, 2008 at 11:38:17AM +0100, Johannes Schindelin wrote: > > > > - __gitcomp "--prune --aggressive" > > > + __gitcomp "--aggressive" > > git gc --prune is deprecated? That's news to me. > > Check out 9e7d501 (builtin-gc.c: deprecate --prune, it now really has no > effect, 2008-05-09). > > Which annoyingly has no discussion about _why_ it no longer has an > effect. But I suspect it has something to do with 25ee973 (gc: call > "prune --expire 2.weeks.ago" by default, 2008-03-12) by you.
Oops.
But I thought that git gc --prune does expire _all_ dangling loose objects _now_, not with --expire 2.weeks.ago.
Ciao, Dscho