Thread (16 messages) 16 messages, 4 authors, 2016-06-15

Re: [PATCH v2] gc: make --prune useful again by accepting an optional parameter

flat view

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:46:12

Johannes Schindelin [off-list ref] 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 <redacted>
Thanks.

Being able to say --no-$opt to an OPT_STRING to NULLify a variable that
has non-NULL default value is somewhat amusing ;-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help