summaryrefslogtreecommitdiff
path: root/builtin/repack.c
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2023-04-18 20:40:35 (GMT)
committerJunio C Hamano <gitster@pobox.com>2023-04-18 21:56:47 (GMT)
commitc512f31109ea09a6db72af0af4572dc0a2c2df0f (patch)
tree1e6527f45f3f8233878c6b4d46ec521ce7c6a3b2 /builtin/repack.c
parentc41258359e2f77a4fba000b2bbb975ebaf7d641b (diff)
downloadgit-c512f31109ea09a6db72af0af4572dc0a2c2df0f.zip
git-c512f31109ea09a6db72af0af4572dc0a2c2df0f.tar.gz
git-c512f31109ea09a6db72af0af4572dc0a2c2df0f.tar.bz2
builtin/repack.c: fix incorrect reference to '-C'
When cruft packs were originally being developed, `-C` was designated as the short-form for `--cruft` (as in `git repack -C`). This was dropped due to confusion with Git's top-level `-C` option before submitting to the list. But the reference to it in `--cruft-expiration`'s help text was never updated. Fix that dangling reference in this patch. Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/repack.c')
-rw-r--r--builtin/repack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/repack.c b/builtin/repack.c
index df4d8e0..d9eee15 100644
--- a/builtin/repack.c
+++ b/builtin/repack.c
@@ -774,7 +774,7 @@ int cmd_repack(int argc, const char **argv, const char *prefix)
N_("same as -a, pack unreachable cruft objects separately"),
PACK_CRUFT),
OPT_STRING(0, "cruft-expiration", &cruft_expiration, N_("approxidate"),
- N_("with -C, expire objects older than this")),
+ N_("with --cruft, expire objects older than this")),
OPT_BOOL('d', NULL, &delete_redundant,
N_("remove redundant packs, and run git-prune-packed")),
OPT_BOOL('f', NULL, &po_args.no_reuse_delta,