Skip to content

Commit 7aba2b7

Browse files
committed
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'
2 parents 55c37d1 + fc42f20 commit 7aba2b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/test-lib-functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ test_commit_bulk () {
308308
total=$1
309309

310310
add_from=
311-
if git -C "$indir" rev-parse --verify "$ref"
311+
if git -C "$indir" rev-parse --quiet --verify "$ref"
312312
then
313313
add_from=t
314314
fi

0 commit comments

Comments
 (0)