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>

Denton Liu committed Jan 14, 2021 at 15:02 UTC f9f30a03107742dc4270dc8e37bc519adc96a475
1 file changed +2 -2
t/test-lib-functions.sh
+2 -2
@@ -188,8 +188,8 @@ debug () {
188 # "<file>"
189 # --signoff
190 # Invoke "git commit" with --signoff
191 -# --author=<author>
192 -# Invoke "git commit" with --author=<author>
191 +# --author <author>
192 +# Invoke "git commit" with --author <author>
193 #
194 # This will commit a file with the given contents and the given commit
195 # message, and tag the resulting commit with the given tag name.