builtin-am: implement --ignore-date
authorPaul Tan <pyokagan@gmail.com>
Tue, 4 Aug 2015 13:51:51 +0000 (21:51 +0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Aug 2015 05:02:11 +0000 (22:02 -0700)
commitf07adb62f292eec0d10fd10b0812800afb03363c
tree8d946cd504c4841e086dde954f11e24c785f5690
parent257e8cecc13b323c7b5c3fb249955b3ee8f4af3d
builtin-am: implement --ignore-date

Since a79ec62 (git-am: Add --ignore-date option, 2009-01-24), git-am.sh
supported the --ignore-date option, and would use the current timestamp
instead of the one provided in the patch if the option was set.

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