]> git.ipfire.org Git - thirdparty/git.git/commit - git-send-email.perl
Make git-send-email detect mbox-style patches more readily
authorJunio C Hamano <junkio@cox.net>
Sat, 7 Oct 2006 10:09:05 +0000 (03:09 -0700)
committerJunio C Hamano <junkio@cox.net>
Sun, 8 Oct 2006 06:37:15 +0000 (23:37 -0700)
commite6b0964af595bbc4dab2a63c17bc4c8064a28073
tree0473a5506d21f01cc87636840f19c6b600bcbe5d
parent7a2a0d214169a5d6f22fc62c4ae6a7ca5b27fb3e
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>
git-send-email.perl