author | Junio C Hamano <junkio@cox.net> | |
Sat, 7 Oct 2006 10:09:05 +0000 (03:09 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 8 Oct 2006 06:37:15 +0000 (23:37 -0700) | ||
commit | e6b0964af595bbc4dab2a63c17bc4c8064a28073 | |
tree | 0473a5506d21f01cc87636840f19c6b600bcbe5d | tree | snapshot |
parent | 7a2a0d214169a5d6f22fc62c4ae6a7ca5b27fb3e | commit | diff |
Make git-send-email detect mbox-style patches more readily
Earlier we insisted that mbox file to begin with "From ". That
is fine as long as you feed format-patch output, but if you
handcraft the input file, this is unnecessary burden. We should
detect lines that look like e-mail headers and say that is also
a mbox file.
The other input file format is traditional "send lots of email",
whose first line would never look like e-mail headers, so this
is a safe change.
The original patch was done by Matthew Wilcox, which checked
explicitly for headers the script pays attention to.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Earlier we insisted that mbox file to begin with "From ". That
is fine as long as you feed format-patch output, but if you
handcraft the input file, this is unnecessary burden. We should
detect lines that look like e-mail headers and say that is also
a mbox file.
The other input file format is traditional "send lots of email",
whose first line would never look like e-mail headers, so this
is a safe change.
The original patch was done by Matthew Wilcox, which checked
explicitly for headers the script pays attention to.
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-send-email.perl | diff | blob | history |