From: Nicolas Pitre Date: Wed, 12 Mar 2008 02:37:09 GMT Subject: Re: [PATCH] gc: call "prune --expire 2.weeks.ago" Message-ID: In-Reply-To: <7vskywadum.fsf@gitster.siamese.dyndns.org> On Tue, 11 Mar 2008, Junio C Hamano wrote: > Johannes Schindelin writes: > > > If "--prune" is passed to gc, it still just calls "git prune". > > Otherwise, "prune --expire 2.weeks.ago" is called, where the grace > > period is overrideable by the config variable gc.pruneExpire. > > "What it does." > > > While adding a test to t5304-prune.sh (since it really tests the > > implicit call to "prune"), the original test for "prune --expire" > > is moved there from t1410-reflog.sh, where it did not belong. > > "What the fallouts from this change were." > > > Signed-off-by: Johannes Schindelin > > Can we also have "why this is a good idea", "what problem this solves"? FWIW, my agreeing with the "why this is a good idea" can be translated into: Acked-by: Nicolas Pitre Nicolas