t3436: check --committer-date-is-author-date result more carefully
commit56706dba33f5d4457395c651cf1cd033c6c03c7a
authorJeff King <peff@peff.net>
Fri, 23 Oct 2020 07:08:43 +0000 (23 03:08 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 Oct 2020 15:25:17 +0000 (23 08:25 -0700)
tree4b84e497cbec7068a04e8c47b711e4801a115a70
parent6160b2e9a486f5dc29f621e94a0e5dcce0ab3d52
t3436: check --committer-date-is-author-date result more carefully

After running "rebase --committer-date-is-author-date", we confirm that
the committer date is the same as the author date. However, we don't
look at any other parts of the committer ident line to make sure we
didn't screw them up. And indeed, there are a few bugs here. Depending
on the rebase backend in use, we may accidentally use the author email
instead of the committer's, or even an empty string.

Let's teach our test_ctime_is_atime helper to check the committer name
and email, which reveals several failing tests.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3436-rebase-more-options.sh