diff options
author | Martin Ågren <martin.agren@gmail.com> | 2020-02-23 11:48:36 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-02-24 22:18:25 +0300 |
commit | 3c29e21eb047be390d3908d429669cdca3037d9f (patch) | |
tree | 9398f7ea0763ce42f8abdf2ffbdbb7c9d3f33138 /t/t1406-submodule-ref-store.sh | |
parent | cac439b56dd888d346b021b3b606d5e7bc3595d0 (diff) |
t: drop debug `cat` calls
We `cat` files, but don't inspect or grab the contents in any way.
Unlike in an earlier commit, there is no reason to suspect that these
files could be missing, so `cat`-ing them is just wasted effort.
Signed-off-by: Martin Ågren <martin.agren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1406-submodule-ref-store.sh')
-rwxr-xr-x | t/t1406-submodule-ref-store.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1406-submodule-ref-store.sh b/t/t1406-submodule-ref-store.sh index d199d872fb..36b7ef5046 100755 --- a/t/t1406-submodule-ref-store.sh +++ b/t/t1406-submodule-ref-store.sh @@ -75,7 +75,7 @@ test_expect_success 'for_each_reflog()' ' ' test_expect_success 'for_each_reflog_ent()' ' - $RUN for-each-reflog-ent HEAD >actual && cat actual && + $RUN for-each-reflog-ent HEAD >actual && head -n1 actual | grep first && tail -n2 actual | head -n1 | grep master.to.new ' |