]> git.ipfire.org Git - thirdparty/git.git/commit - t/t6120-describe.sh
describe tests: support -C in "check_describe"
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Mon, 12 Apr 2021 11:21:47 +0000 (13:21 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 11 May 2021 03:48:09 +0000 (12:48 +0900)
commit64568c717159b31b5a37d2c1bb284c71e6cd011f
tree6fef10c2b67bd44b873ec25f6ace05dbef3aed0f
parent33b4ae11146ba0c468176d238d231e1101ba19cd
describe tests: support -C in "check_describe"

Change a subshell added in a preceding commit to instead use a new
"-C" option to "check_describe". The idiom for this is copied as-is
from the "test_commit" function in test-lib-functions.sh

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6120-describe.sh