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 <johannes.schindelin@xxxxxx> > --- > 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
Attachment:
signature.asc
Description: This is a digitally signed message part.