diff options
author | Jeff King <peff@peff.net> | 2020-10-23 03:08:43 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-10-23 08:25:17 -0700 |
commit | 56706dba33f5d4457395c651cf1cd033c6c03c7a (patch) | |
tree | 4b84e497cbec7068a04e8c47b711e4801a115a70 /t/t3501-revert-cherry-pick.sh | |
parent | t3436: do not run git-merge-recursive in dashed form (diff) | |
download | tgif-56706dba33f5d4457395c651cf1cd033c6c03c7a.tar.xz |
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>
Diffstat (limited to 't/t3501-revert-cherry-pick.sh')
0 files changed, 0 insertions, 0 deletions