From: Ævar Arnfjörð Bjarmason Date: Tue, 12 Jan 2021 20:17:56 GMT Subject: [PATCH 12/22] test-lib functions: expand "test_commit" comment template Message-ID: <20210112201806.13284-13-avarab@gmail.com> In-Reply-To: <20210105130359.21139-1-avarab@gmail.com> Expand the comment template for "test_commit" to match that of "test_commit_bulk" added in b1c36cb849 (test-lib: introduce test_commit_bulk, 2019-07-02). It has several undocumented options, which won't all fit on one line. Follow-up commit(s) will document them. Signed-off-by: Ævar Arnfjörð Bjarmason --- t/test-lib-functions.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh index 999982fe4a..396e039d2a 100644 --- a/t/test-lib-functions.sh +++ b/t/test-lib-functions.sh @@ -178,16 +178,14 @@ debug () { GIT_DEBUGGER="${GIT_DEBUGGER}" "$@" <&6 >&5 2>&7 } -# Call test_commit with the arguments -# [-C ] [ [ []]]" +# Usage: test_commit [options] [ [ []]] +# -C : +# Run all git commands in directory # # This will commit a file with the given contents and the given commit # message, and tag the resulting commit with the given tag name. # # , , and all default to . -# -# If the first argument is "-C", the second argument is used as a path for -# the git invocations. test_commit () { notick= && -- 2.29.2.222.g5d2a92d10f8