Re: [PATCH] prune: --expire=time
- From
- Matthias Lederhofer <matled@gmx.net>
- Date
- Jan 20, 2007, 11:18 UTC
- Message-ID
- <20070120111832.GA30368@moooo.ath.cx>
- In-Reply-To
- <7vfya6hll3.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> wrote:
Show 17 quoted lines
> git prune --expire=off > > felt a bit confusing to me at the first glance. Does it turn > off the expiration mechanism, retaining all cruft, or turns off > the mechanism to give grace period for recent objects? The > answer is obviosuly the latter as "retain all cruft" is > meaningless, but still it somehow feels funny. It might be > easier to explain if it was: > > git prune --expire=now > > Maybe an alternative: > > git prune --retain=1.day > git prune --retain=off > > perhaps? I dunno.
Perhaps we could also use 'none' or 'all, e.g. --retain=none or --expire=all.