test-lib-functions.sh: fix usage for test_commit()
authorDenton Liu <liu.denton@gmail.com>
Thu, 14 Jan 2021 23:02:40 +0000 (15:02 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 15 Jan 2021 02:21:03 +0000 (18:21 -0800)
commitf9f30a03107742dc4270dc8e37bc519adc96a475
tree016dd9d785a81efeb230878ebb127d35e4ccb7b4
parent4e168333a8716d902aed10c74ae5e408e683f902
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>
t/test-lib-functions.sh