diff options
author | Taylor Blau <me@ttaylorr.com> | 2022-05-20 19:18:14 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-05-26 15:48:26 -0700 |
commit | 5b92477f896f147d02bd2e9168a780940b57cfc5 (patch) | |
tree | 6f8a1600e30388e2b932341ee738945078dccc32 /builtin/commit.c | |
parent | ddee3703b36e96056f11ddc4621707b6054bab48 (diff) |
builtin/gc.c: conditionally avoid pruning objects via loose
Expose the new `git repack --cruft` mode from `git gc` via a new opt-in
flag. When invoked like `git gc --cruft`, `git gc` will avoid exploding
unreachable objects as loose ones, and instead create a cruft pack and
`.mtimes` file.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions