From 96cfcbb2278a36ab3aa09389a32466a8ca8993fd Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Thu, 22 Oct 2009 18:40:30 +0200 Subject: [PATCH] git am: accept patches downloaded from GMane GMane has this wonderful feature that you can download the raw mails, but the mails do not fully conform to the mbox format, as they do not start with a "From ..." line. But they start with another tell tale we can easily detect. Signed-off-by: Johannes Schindelin --- git-am.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-am.sh b/git-am.sh index 1056075545..11c35afb9c 100755 --- a/git-am.sh +++ b/git-am.sh @@ -176,7 +176,7 @@ check_patch_format () { read l2 read l3 case "$l1" in - "From "* | "From: "*) + "From "* | "From: "* | "Path:news.gmane.org"*) patch_format=mbox ;; '# This series applies on GIT commit'*)