]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t/t7*: avoid redundant use of cat
authorBeat Bolli <bb@drbeat.li>
Fri, 15 Mar 2024 19:46:09 +0000 (20:46 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 16 Mar 2024 18:08:56 +0000 (11:08 -0700)
Signed-off-by: Beat Bolli <dev+git@drbeat.li>
Acked-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7704-repack-cruft.sh

index be3735dff0837a6050780082f3acc4e1f7da37dc..71e1ef3a103e780bd3f95f4e703ba23c29f71be1 100755 (executable)
@@ -48,7 +48,7 @@ test_expect_success '--expire-to stores pruned objects (now)' '
                # ...in other words, the combined contents of this
                # repository and expired.git should be the same as the
                # set of objects we started with.
-               cat expired.objects remaining.objects | sort >actual &&
+               sort expired.objects remaining.objects >actual &&
                test_cmp expect actual &&
 
                # The "moved" objects (i.e., those in expired.git)