summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorDenton Liu <liu.denton@gmail.com>2021-01-14 23:02:40 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-01-15 02:21:03 (GMT)
commitf9f30a03107742dc4270dc8e37bc519adc96a475 (patch)
tree016dd9d785a81efeb230878ebb127d35e4ccb7b4 /t
parent4e168333a8716d902aed10c74ae5e408e683f902 (diff)
downloadgit-f9f30a03107742dc4270dc8e37bc519adc96a475.zip
git-f9f30a03107742dc4270dc8e37bc519adc96a475.tar.gz
git-f9f30a03107742dc4270dc8e37bc519adc96a475.tar.bz2
test-lib-functions.sh: fix usage for test_commit()
The usage comment for test_commit() shows that the --author option should be given as `--author=<author>`. However, this is incorrect as it only works when given as `--author <author>`. Correct this erroneous text. Also, for the sake of correctness, fix the description as well since we invoke `git commit` with `--author <author>`, not `--author=<author>`. Signed-off-by: Denton Liu <liu.denton@gmail.com> Acked-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rw-r--r--t/test-lib-functions.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh
index b0a5d74..cea73cb 100644
--- a/t/test-lib-functions.sh
+++ b/t/test-lib-functions.sh
@@ -188,8 +188,8 @@ debug () {
# "<file>"
# --signoff
# Invoke "git commit" with --signoff
-# --author=<author>
-# Invoke "git commit" with --author=<author>
+# --author <author>
+# Invoke "git commit" with --author <author>
#
# This will commit a file with the given contents and the given commit
# message, and tag the resulting commit with the given tag name.