Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
gc: --prune prunes unreferenced objects.
author
Junio C Hamano
<gitster@pobox.com>
Tue, 6 Nov 2007 00:39:00 +0000
(16:39 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 6 Nov 2007 00:39:00 +0000
(16:39 -0800)
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>
builtin-gc.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
9f12bec
)
diff --git
a/builtin-gc.c
b/builtin-gc.c
index c5bce893a606b58dad73ff5d791d4a479a1859e4..799c263936d19ef8e66b21f83a370c4fcfe9e5f5 100644
(file)
--- a/
builtin-gc.c
+++ b/
builtin-gc.c
@@
-175,7
+175,7
@@
int cmd_gc(int argc, const char **argv, const char *prefix)
char buf[80];
struct option builtin_gc_options[] = {
- OPT_BOOLEAN(0, "prune", &prune, "prune unreferenced
loose
objects"),
+ OPT_BOOLEAN(0, "prune", &prune, "prune unreferenced objects"),
OPT_BOOLEAN(0, "aggressive", &aggressive, "be more thorough (increased runtime)"),
OPT_BOOLEAN(0, "auto", &auto_gc, "enable auto-gc mode"),
OPT_END()