builtin-am: implement --[no-]message-id, am.messageid
commit702cbaad61a15b035fd022bae57403baeb324d82
authorPaul Tan <pyokagan@gmail.com>
Tue, 4 Aug 2015 13:51:47 +0000 (4 21:51 +0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Aug 2015 05:02:11 +0000 (4 22:02 -0700)
treea3166cd91b455a9e796292ce62c28930e8e6f9e0
parent4f1b69617577309d361a006fc77d71a5cff7ec06
builtin-am: implement --[no-]message-id, am.messageid

Since a078f73 (git-am: add --message-id/--no-message-id, 2014-11-25),
git-am.sh supported the --[no-]message-id options, and the
"am.messageid" setting which specifies the default option.

--[no-]message-id tells git-am whether or not the -m option should be
passed to git-mailinfo.

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