@matheusbsbs / matheus-bagliano / commits / 0aab4abdd4
Fork 0

gc: --prune prunes unreferenced objects.

Brandon Casey correctly points out that we repack with -A without --prune and with -a with --prune, so it is not just unreferenced loose objects that are pruned away when the option is given. Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Nov 5, 2007 at 16:39 UTC 0aab4abdd4e6461d61ce6cf1392e1d31c4d1573a
1 file changed +1 -1
builtin-gc.c
+1 -1
@@ -175,7 +175,7 @@ int cmd_gc(int argc, const char **argv, const char *prefix)
175 char buf[80];
176
177 struct option builtin_gc_options[] = {
178 - OPT_BOOLEAN(0, "prune", &prune, "prune unreferenced loose objects"),
178 + OPT_BOOLEAN(0, "prune", &prune, "prune unreferenced objects"),
179 OPT_BOOLEAN(0, "aggressive", &aggressive, "be more thorough (increased runtime)"),
180 OPT_BOOLEAN(0, "auto", &auto_gc, "enable auto-gc mode"),
181 OPT_END()