aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBeat Bolli <bb@drbeat.li>2024-03-15 20:46:09 +0100
committerJunio C Hamano <gitster@pobox.com>2024-03-16 11:08:56 -0700
commit6178c08ec737221c5850faf10f6b306de064bf04 (patch)
treef9fed0c62983805108d6378beac8403d73dbfb08
parentedfa63e7f48864103d5dfc307186c1217db73e42 (diff)
downloadgit-6178c08ec737221c5850faf10f6b306de064bf04.tar.gz
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>
-rwxr-xr-xt/t7704-repack-cruft.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7704-repack-cruft.sh b/t/t7704-repack-cruft.sh
index be3735dff0..71e1ef3a10 100755
--- a/t/t7704-repack-cruft.sh
+++ b/t/t7704-repack-cruft.sh
@@ -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)