Code

objects to be pruned immediately don't have to be loosened
authorNicolas Pitre <nico@cam.org>
Tue, 30 Dec 2008 19:45:11 +0000 (14:45 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 1 Jan 2009 12:51:51 +0000 (04:51 -0800)
commit8e8daf33632d14f01d342b4f89d8afceecdd606b
tree4408763d1d4968d162d6d946fb33abd2fee0ea6b
parent936b7057e8401665a2d106e8de018561db6333fe
objects to be pruned immediately don't have to be loosened

When there is no grace period before pruning unreferenced objects, it is
pointless to push those objects in their loose form just to delete them
right away.

Also be more explicit about the possibility of using "now" in the
gc.pruneexpire config variable (needed for the above behavior to
happen).

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
builtin-gc.c