Subject: Re: [PATCH] prune: --expire=time

From: Matthias Lederhofer <[email-masked]>
Date: Sat, 20 Jan 2007 12:18:32 +0100

Junio C Hamano <[email-masked]> wrote:
> 	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.