diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-11-05 16:39:00 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-05 16:39:00 -0800 |
commit | 0aab4abdd4e6461d61ce6cf1392e1d31c4d1573a (patch) | |
tree | bf109010e1e85f18af718bdc7bf9baba96f4f574 /builtin-gc.c | |
parent | 9f12bec4386fc96e5b617268822cbb75e4c76101 (diff) | |
download | git-0aab4abdd4e6461d61ce6cf1392e1d31c4d1573a.tar.gz |
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>
Diffstat (limited to 'builtin-gc.c')
-rw-r--r-- | builtin-gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-gc.c b/builtin-gc.c index c5bce893a6..799c263936 100644 --- 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() |