git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] git-am: less strong format "mbox" detection

From
NSNicolas Sebrecht <ni.s@laposte.net>
Date
Jul 14, 2009, 06:40 UTC
Message-ID
<bb3a84e2b817268a88832dc7043383e4b91a3df3.1247553623.git.ni.s@laposte.net>

Thunderbird (v1.* at least) likes to start e-mails with "X-Account-Key:". Also, I have some emails starting with "Return-Path:" or ""Delivered-To:".

Signed-off-by: Nicolas Sebrecht <ni.s@laposte.net>
---
 git-am.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git-am.sh b/git-am.sh
index d64d997..d10a8e0 100755
--- a/git-am.sh
+++ b/git-am.sh
@@ -169,7 +169,7 @@ check_patch_format () {
 		read l2
 		read l3
 		case "$l1" in
-		"From "* | "From: "*)
+		"From "* | "From: "* | "X-Account-Key:"* | "Return-Path:"* | "Delivered-To:"*)
 			patch_format=mbox
 			;;
 		'# This series applies on GIT commit'*)
-- 
1.6.4.rc0.121.g2937a.dirty
Next: Giuseppe Bilotta
Message 1 of 10 in “git-am: less strong format "mbox" detection”
  1. git-am: less strong format "mbox" detectionNicolas Sebrecht, Jul 14, 2009
  2. Giuseppe BilottaJul 14, 2009
  3. Re: git-am: less strong format "mbox" detectionNicolas Sebrecht, Jul 14, 2009
  4. Johannes SixtJul 14, 2009
  5. Junio C HamanoJul 14, 2009
  6. Re: git-am: less strong format "mbox" detectionNicolas Sebrecht, Jul 14, 2009
  7. git-am: fix maildir support regression for unordered headers in emailsNicolas Sebrecht, Jul 15, 2009
  8. Junio C HamanoJul 15, 2009
  9. Derek FawcusJul 15, 2009
  10. Re: git-am: fix maildir support regression for unordered headers in emailsNicolas Sebrecht, Jul 15, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.