git-am support for naked email messages (take 2)
authorH. Peter Anvin <hpa@zytor.com>
Wed, 14 Dec 2005 06:39:23 +0000 (22:39 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 14 Dec 2005 10:04:56 +0000 (02:04 -0800)
commitb3f041fb0f7de167dbb6711b0a231d36c4b5de08
treec30a6e87fd931d0ac5195aa1dc1910d21fc19ccd
parent01f49e3453d9960fec62d93bc3a66784f1be4c26
git-am support for naked email messages (take 2)

This allows git-am to accept single-message files as well as mboxes.
Unlike the previous version, this one doesn't need to be explicitly told
which one it is; rather, it looks to see if the first line is a From
line and uses it to select mbox mode or not.

I moved the logic to do all this into git-mailsplit, which got a new
user interface as result, although the old interface is still available
for backwards compatibility.

[jc: applied with two obvious fixes.]

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-mailsplit.txt
git-am.sh
mailsplit.c