]> git.ipfire.org Git - thirdparty/git.git/commit
test-lib functions: add --author support to test_commit
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 12 Jan 2021 20:17:58 +0000 (21:17 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Jan 2021 22:04:41 +0000 (14:04 -0800)
commit999cfc4f45e90a2eafa9b170d0ab9f0f13cbddb8
tree2a3b1daece11b88c946f4e30243bb798160c80aa
parent76b8b8d05c723232f27d9396d3ddfd2b10394187
test-lib functions: add --author support to test_commit

Add support for --author to "test_commit". This will simplify some
current and future tests, one of those is being changed here.

Let's also line-wrap the "git commit" command invocation to make diffs
that add subsequent options easier to add, as they'll only need to add
a new option line.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7509-commit-authorship.sh
t/test-lib-functions.sh