diff options
author | SZEDER Gábor <szeder.dev@gmail.com> | 2019-11-25 13:59:07 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-11-27 10:47:23 +0900 |
commit | fc42f20e243db941fb58e5ef43e3654034738326 (patch) | |
tree | 3e38e8b3fa9d95ec252254b6832d0acd54a5a8db /t/t4100/t-apply-5.expect | |
parent | Git 2.23 (diff) | |
download | tgif-fc42f20e243db941fb58e5ef43e3654034738326.tar.xz |
test-lib-functions: suppress a 'git rev-parse' error in 'test_commit_bulk'
When 'test_commit_bulk' is invoked in an empty test repository, it
prints a "fatal: Needed a single revision" error, but still does what
it's supposed to do. A test helper function displaying a fatal error
and still succeeding is always suspect to be buggy, but luckily that's
not the case here: that error comes from a 'git rev-parse --verify
HEAD' command invoked in a condition, which doesn't have anything to
verify in an empty repository.
Use the '--quiet' option to suppress that error message.
Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4100/t-apply-5.expect')
0 files changed, 0 insertions, 0 deletions