builtin-am: extract patch and commit info with git-mailinfo
commit3e20dcf367f551e5a0efab74e7bc2c07f0549a3d
authorPaul Tan <pyokagan@gmail.com>
Tue, 4 Aug 2015 13:51:28 +0000 (4 21:51 +0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Aug 2015 05:02:11 +0000 (4 22:02 -0700)
tree19a362a411756dbd3578b40459142358fe2f88ae
parentc29807b27dc60e17eb1cd8bc50900af2a09ce66f
builtin-am: extract patch and commit info with git-mailinfo

For the purpose of applying the patch and committing the results,
implement extracting the patch data, commit message and authorship from
an e-mail message using git-mailinfo.

git-mailinfo is run as a separate process, but ideally in the future,
we should be be able to access its functionality directly without
spawning a new process.

Helped-by: Junio C Hamano <gitster@pobox.com>
Helped-by: Jeff King <peff@peff.net>
Helped-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Paul Tan <pyokagan@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/am.c