summaryrefslogtreecommitdiff
path: root/t/test-lib-functions.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-12-10 13:11:44 -0800
committerJunio C Hamano <gitster@pobox.com>2019-12-10 13:11:44 -0800
commit7aba2b7fd6afa858f44cdba7c7f19da75de9b9be (patch)
tree312f75696f642eb608fe55444eec1d9086981545 /t/test-lib-functions.sh
parent55c37d12d3b105856cb8085c5d7e26bed313e863 (diff)
parentfc42f20e243db941fb58e5ef43e3654034738326 (diff)
downloadgit-7aba2b7fd6afa858f44cdba7c7f19da75de9b9be.tar.gz
Merge branch 'sg/test-squelch-noise-in-commit-bulk'
Code cleanup. * sg/test-squelch-noise-in-commit-bulk: test-lib-functions: suppress a 'git rev-parse' error in 'test_commit_bulk'
Diffstat (limited to 't/test-lib-functions.sh')
-rw-r--r--t/test-lib-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh
index dc7a0411df..284c52d076 100644
--- a/t/test-lib-functions.sh
+++ b/t/test-lib-functions.sh
@@ -308,7 +308,7 @@ test_commit_bulk () {
total=$1
add_from=
- if git -C "$indir" rev-parse --verify "$ref"
+ if git -C "$indir" rev-parse --quiet --verify "$ref"
then
add_from=t
fi