summaryrefslogtreecommitdiff
path: root/t/t1406-submodule-ref-store.sh
diff options
context:
space:
mode:
authorMartin Ågren <martin.agren@gmail.com>2020-02-23 08:48:36 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-02-24 19:18:25 (GMT)
commit3c29e21eb047be390d3908d429669cdca3037d9f (patch)
tree9398f7ea0763ce42f8abdf2ffbdbb7c9d3f33138 /t/t1406-submodule-ref-store.sh
parentcac439b56dd888d346b021b3b606d5e7bc3595d0 (diff)
downloadgit-3c29e21eb047be390d3908d429669cdca3037d9f.zip
git-3c29e21eb047be390d3908d429669cdca3037d9f.tar.gz
git-3c29e21eb047be390d3908d429669cdca3037d9f.tar.bz2
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-xt/t1406-submodule-ref-store.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1406-submodule-ref-store.sh b/t/t1406-submodule-ref-store.sh
index d199d87..36b7ef5 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
'