Re: [PATCH v2] gc: make --prune useful again by accepting an optional parameter
Johannes Schindelin wrote:
Show 12 quoted lines
> 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 <johannes.schindelin@gmx.de>
> ---
> Documentation/git-gc.txt | 10 +++++++++-
> builtin-gc.c | 19 ++++++++++++-------
> t/t5304-prune.sh | 38 ++++++++++++++++++++++++++++++++++++++
> 3 files changed, 59 insertions(+), 8 deletions(-)
--
Thomas Rast
trast@{inf,student}.ethz.ch