diff options
author | Taylor Blau <me@ttaylorr.com> | 2023-04-18 16:40:41 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-04-18 14:56:47 -0700 |
commit | b934207a223a846e98c693c4c6a9ca32bf995688 (patch) | |
tree | cdd560136a43a1cba31b4e6a42501154fbd644f3 /builtin/commit-graph.c | |
parent | 05b9013b7181e0c842517ce76aeab25a56670dc0 (diff) |
t/t5304-prune.sh: prepare for `gc --cruft` by default
Many of the tests in t5304 run `git gc`, and rely on its behavior that
unreachable-but-recent objects are written out loose. This is sensible,
since t5304 deals specifically with this kind of pruning.
If left unattended, however, this test would break when the default
behavior of a bare "git gc" is adjusted to generate a cruft pack by
default.
Ensure that these tests continue to work as-is (and continue to provide
coverage of loose object pruning) by passing `--no-cruft` explicitly.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions