Re: [PATCH] Add "--expire <time>" option to 'git prune'
- From
Jeff King <peff@peff.net>
- Date
- Nov 29, 2007, 15:12 UTC
- Message-ID
- <20071129151211.GB32296@coredump.intra.peff.net>
- In-Reply-To
- <Pine.LNX.4.64.0711291419350.27959@racer.site>
On Thu, Nov 29, 2007 at 02:21:23PM +0000, Johannes Schindelin wrote:
Show 7 quoted lines
> 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.
-Peff