Re: [PATCH/WIP 5/8] am: detect mbox patches

2015-05-31 Thread Eric Sunshine
On Wed, May 27, 2015 at 9:33 AM, Paul Tan wrote: > Since 15ced75 (git-am foreign patch support: autodetect some patch > formats, 2009-05-27), git-am.sh is able to autodetect mbox, stgit and > mercurial patches through heuristics. > > Re-implement support for autodetecting mbox/maildir files. A fe

[PATCH/WIP 5/8] am: detect mbox patches

2015-05-27 Thread Paul Tan
Since 15ced75 (git-am foreign patch support: autodetect some patch formats, 2009-05-27), git-am.sh is able to autodetect mbox, stgit and mercurial patches through heuristics. Re-implement support for autodetecting mbox/maildir files. Signed-off-by: Paul Tan --- builtin/am.c | 99 +++