]> git.ipfire.org Git - thirdparty/git.git/commitdiff
test-lib-functions: document test_commit --no-tag
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Mon, 10 May 2021 14:19:03 +0000 (16:19 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 11 May 2021 03:45:17 +0000 (12:45 +0900)
In 76b8b8d05c (test-lib functions: document arguments to test_commit,
2021-01-12) I added missing documentation to test_commit, but in less
than a month later in 3803a3a099 (t: add --no-tag option to
test_commit, 2021-02-09) we got another undocumented option. Let's fix
that.

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

index d169fb2f5971b361e968591f6ce8bad62b0c3e96..d0f4f3885d62ddf507e7e974aafbaeb613035017 100644 (file)
@@ -177,6 +177,8 @@ debug () {
 #      Invoke "git commit" with --signoff
 #   --author <author>
 #      Invoke "git commit" with --author <author>
+#   --no-tag
+#      Do not tag the resulting commit
 #
 # This will commit a file with the given contents and the given commit
 # message, and tag the resulting commit with the given tag name.