Skip to content

Commit

Permalink
Merge branch 'sg/test-squelch-noise-in-commit-bulk'
Browse files Browse the repository at this point in the history
Code cleanup.

* sg/test-squelch-noise-in-commit-bulk:
  test-lib-functions: suppress a 'git rev-parse' error in 'test_commit_bulk'
  • Loading branch information
gitster committed Dec 10, 2019
2 parents 55c37d1 + fc42f20 commit 7aba2b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/test-lib-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7aba2b7

Please sign in to comment.