t/t7*: avoid redundant use of cat
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>
Beat Bolli committed
Mar 15, 2024 at 20:46 UTC
6178c08ec737221c5850faf10f6b306de064bf04
1 file changed
+1
-1
t/t7704-repack-cruft.sh
+1
-1
@@ -48,7 +48,7 @@ test_expect_success '--expire-to stores pruned objects (now)' '
48
# ...in other words, the combined contents of this
49
# repository and expired.git should be the same as the
50
# set of objects we started with.
51
- cat expired.objects remaining.objects | sort >actual &&
51
+ sort expired.objects remaining.objects >actual &&
52
test_cmp expect actual &&
53
54
# The "moved" objects (i.e., those in expired.git)