From: Junio C Hamano Date: Sun, 15 Feb 2009 19:33:37 GMT Subject: Re: [PATCH v2] gc: make --prune useful again by accepting an optional parameter Message-ID: <7vprhjlcku.fsf@gitster.siamese.dyndns.org> In-Reply-To: Johannes Schindelin writes: > With this patch, "git gc --no-prune" will not prune any loose (and > dangling) object, and "git gc --prune=5.minutes.ago" will prune > all loose objects older than 5 minutes. > > This patch benefitted from suggestions by Thomas Rast and Jan Krüger. > > Signed-off-by: Johannes Schindelin Thanks. Being able to say --no-$opt to an OPT_STRING to NULLify a variable that has non-NULL default value is somewhat amusing ;-)