summaryrefslogtreecommitdiff
path: root/builtin/repack.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-04-28 23:03:03 (GMT)
committerJunio C Hamano <gitster@pobox.com>2023-04-28 23:03:03 (GMT)
commitfc23c397c7088a397a693bc5cb483a5894f59f53 (patch)
tree69d916089913084988fe52b5b87908d8cec7a95b /builtin/repack.c
parentf85cd430b12b0d3e4f1a30ef3239a1b73d5f6331 (diff)
parent029a632c35861b3395c71e767d80bbf463dc1ae1 (diff)
downloadgit-fc23c397c7088a397a693bc5cb483a5894f59f53.zip
git-fc23c397c7088a397a693bc5cb483a5894f59f53.tar.gz
git-fc23c397c7088a397a693bc5cb483a5894f59f53.tar.bz2
Merge branch 'tb/enable-cruft-packs-by-default'
When "gc" needs to retain unreachable objects, packing them into cruft packs (instead of exploding them into loose object files) has been offered as a more efficient option for some time. Now the use of cruft packs has been made the default and no longer considered an experimental feature. * tb/enable-cruft-packs-by-default: repository.h: drop unused `gc_cruft_packs` builtin/gc.c: make `gc.cruftPacks` enabled by default t/t9300-fast-import.sh: prepare for `gc --cruft` by default t/t6500-gc.sh: add additional test cases t/t6500-gc.sh: refactor cruft pack tests t/t6501-freshen-objects.sh: prepare for `gc --cruft` by default t/t5304-prune.sh: prepare for `gc --cruft` by default builtin/gc.c: ignore cruft packs with `--keep-largest-pack` builtin/repack.c: fix incorrect reference to '-C' pack-write.c: plug a leak in stage_tmp_packfiles()
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 a690227..bb7bf60 100644
--- a/builtin/repack.c
+++ b/builtin/repack.c
@@ -810,7 +810,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,