t/t3437: simplify and document the test helpers
authorCharvi Mendiratta <charvi077@gmail.com>
Wed, 10 Feb 2021 11:36:48 +0000 (17:06 +0530)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Feb 2021 21:58:19 +0000 (13:58 -0800)
commitd8bd08066db18a4db408ff2957f595592e21c336
tree7b811537bcf62f8da9a1f2ed98f5b9c13241233f
parent4755fed0a6d1390b4520658228617b17b9ee822a
t/t3437: simplify and document the test helpers

Let's simplify the test_commit_message() helper function and add
comments to the function.

This patch also document the working of 'fixup -C' with "amend!" in the
test-description.

Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Mentored-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Helped-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Charvi Mendiratta <charvi077@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3437-rebase-fixup-options.sh