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

Add an --append option to test_commit to append <contents> to the
<file> we're writing to. This simplifies a lot of test setup, as shown
in some of the tests being changed here.

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