builtin-am: implement -k/--keep, --keep-non-patch
authorPaul Tan <pyokagan@gmail.com>
Tue, 4 Aug 2015 13:51:46 +0000 (21:51 +0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Aug 2015 05:02:11 +0000 (22:02 -0700)
commit4f1b69617577309d361a006fc77d71a5cff7ec06
treeb90986c45b257bf440a7f1002bb9c9de7b42ca4c
parentef7ee16d75855fb17578e3f29e33f17ba107aac1
builtin-am: implement -k/--keep, --keep-non-patch

Since d1c5f2a (Add git-am, applymbox replacement., 2005-10-07),
git-am.sh supported the -k/--keep option to pass the -k option to
git-mailsplit.

Since f7e5ea1 (am: learn passing -b to mailinfo, 2012-01-16), git-am.sh
supported the --keep-non-patch option to pass the -b option to
git-mailsplit.

Re-implement these two options in builtin/am.c.

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