From: Thomas Rast Date: Sat, 14 Feb 2009 22:38:43 GMT Subject: Re: [PATCH v2] gc: make --prune useful again by accepting an optional parameter Message-ID: <200902142338.46632.trast@student.ethz.ch> In-Reply-To: Johannes Schindelin wrote: > 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 > --- > Documentation/git-gc.txt | 10 +++++++++- > builtin-gc.c | 19 ++++++++++++------- > t/t5304-prune.sh | 38 ++++++++++++++++++++++++++++++++++++++ > 3 files changed, 59 insertions(+), 8 deletions(-) Ack. -- Thomas Rast trast@{inf,student}.ethz.ch