Skip to content

Commit f9f30a0

Browse files
Denton-Lgitster
authored andcommitted
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 <[email protected]> Acked-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4e16833 commit f9f30a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/test-lib-functions.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ debug () {
188188
# "<file>"
189189
# --signoff
190190
# 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>
193193
#
194194
# This will commit a file with the given contents and the given commit
195195
# message, and tag the resulting commit with the given tag name.

0 commit comments

Comments
 (0)