summaryrefslogtreecommitdiffstats
path: root/t/t1091-sparse-checkout-builtin.sh
diff options
context:
space:
mode:
authorBeat Bolli <bb@drbeat.li>2024-03-15 20:46:04 +0100
committerJunio C Hamano <gitster@pobox.com>2024-03-16 19:08:56 +0100
commit2ed139ccc935f9bacc670e7be32694657918e84d (patch)
tree979451689e7c85d7d6f6cd5637eae99812a7a83b /t/t1091-sparse-checkout-builtin.sh
parentt/t0*: avoid redundant uses of cat (diff)
downloadgit-2ed139ccc935f9bacc670e7be32694657918e84d.tar.xz
git-2ed139ccc935f9bacc670e7be32694657918e84d.zip
t/t1*: avoid redundant uses 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>
Diffstat (limited to '')
-rwxr-xr-xt/t1091-sparse-checkout-builtin.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1091-sparse-checkout-builtin.sh b/t/t1091-sparse-checkout-builtin.sh
index e49b8024ac..ab3a105fff 100755
--- a/t/t1091-sparse-checkout-builtin.sh
+++ b/t/t1091-sparse-checkout-builtin.sh
@@ -968,7 +968,7 @@ test_expect_success 'check-rules non-cone mode' '
git -C bare sparse-checkout check-rules --no-cone --rules-file ../rules\
>check-rules-file <all-files &&
- cat rules | git -C repo sparse-checkout set --no-cone --stdin &&
+ git -C repo sparse-checkout set --no-cone --stdin <rules &&
git -C repo ls-files -t >out &&
sed -n "/^S /!s/^. //p" out >ls-files &&