]> git.ipfire.org Git - thirdparty/git.git/commit
t/t5329-pack-objects-cruft.sh: evict 'repack'-related tests
authorTaylor Blau <me@ttaylorr.com>
Wed, 19 Mar 2025 22:52:45 +0000 (18:52 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Mar 2025 10:42:05 +0000 (03:42 -0700)
commitcee95f2670cefd19f16ec283a673bc6809564bc4
tree6670cbf7008a119761eaac6ece3160132e18ce5f
parent77f32ba4302881be3ac5efab76802e5fbfead49d
t/t5329-pack-objects-cruft.sh: evict 'repack'-related tests

The cruft pack feature has two primary test scripts which exercise
various parts of it, which are:

  - t5329-pack-objects-cruft.sh
  - t7704-repack-cruft.sh

The former is designed to test low-level pack generation mechanics at
the 'git pack-objects --cruft'-level, which is plumbing. The latter, on
the other hand, is designed to test the user-facing behavior through
'git repack --cruft', which is porcelain (under the "ancillary
manipulators" sub-section).

At some point a handful of tests which should have been added to the
latter script were instead written to the former. This isn't a huge
deal, but rectifying it is straightforward. Move a handful of
'repack'-related tests out of t5329 and into their rightful home in
t7704.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Acked-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5329-pack-objects-cruft.sh
t/t7704-repack-cruft.sh