Re: [PATCH] Add "--expire <time>" option to 'git prune'
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Nov 29, 2007, 16:13 UTC
- Message-ID
- <Pine.LNX.4.64.0711291613260.27959@racer.site>
- In-Reply-To
- <20071129151211.GB32296@coredump.intra.peff.net>
Hi,
On Thu, 29 Nov 2007, Jeff King wrote:
Show 14 quoted lines
> On Thu, Nov 29, 2007 at 02:21:23PM +0000, Johannes Schindelin wrote: > > > This patch adds a mode to expire only loose, unreachable objects > > which are older than a certain time. For example, by > > > > git prune --expire 14.days > > > > you can prune only those objects which are loose, unreachable > > and older than 14 days (and thus probably outdated). > > Does this now make git-prune safe for automatic running? > > I suppose you could still be actively manipulating refs that point to > very old objects.
That's why I want to have it configurable from git-gc.
Ciao, Dscho