summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2019-12-10 13:11:44 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-12-10 13:11:44 -0800
commit7aba2b7fd6afa858f44cdba7c7f19da75de9b9be (patch)
tree312f75696f642eb608fe55444eec1d9086981545
parentMerge branch 'jk/perf-wo-git-dot-pm' (diff)
parenttest-lib-functions: suppress a 'git rev-parse' error in 'test_commit_bulk' (diff)
downloadtgif-7aba2b7fd6afa858f44cdba7c7f19da75de9b9be.tar.xz
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'
-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