builtin-am: implement -s/--signoff
commiteb898b83f2417b99f290459884f6ea8d2db2bd4d
authorPaul Tan <pyokagan@gmail.com>
Tue, 4 Aug 2015 13:51:39 +0000 (4 21:51 +0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Aug 2015 05:02:11 +0000 (4 22:02 -0700)
treebde6f32ea5c5846e5a38c4b49ebd7adb693642e4
parent2d83109aabbb8c660c27cbf03ec67cb88822639f
builtin-am: implement -s/--signoff

Since d1c5f2a (Add git-am, applymbox replacement., 2005-10-07), git-am
supported the --signoff option which will append a signoff at the end of
the commit messsage. Re-implement this feature in parse_mail() by
calling append_signoff() if the option is set.

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