builtin-am: implement --committer-date-is-author-date
authorPaul Tan <pyokagan@gmail.com>
Tue, 4 Aug 2015 13:51:52 +0000 (21:51 +0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Aug 2015 05:02:11 +0000 (22:02 -0700)
commit0cd4bcba679041274f9f5c381737f6f92b03b1b6
tree86f5cbd5eced4c6e0ba96a71a0b1f2772e9c8087
parentf07adb62f292eec0d10fd10b0812800afb03363c
builtin-am: implement --committer-date-is-author-date

Since 3f01ad6 (am: Add --committer-date-is-author-date option,
2009-01-22), git-am.sh implemented the --committer-date-is-author-date
option, which tells git-am to use the timestamp recorded in the email
message as both author and committer date.

Re-implement this option in builtin/am.c.

Signed-off-by: Paul Tan <pyokagan@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/am.c