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

[PATCH 2/2] am: fix stgit patch mangling

From
Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Date
Aug 29, 2011, 16:44 UTC
Message-ID
<1314636247-26125-3-git-send-email-giuseppe.bilotta@gmail.com>
In-Reply-To
<1314636247-26125-1-git-send-email-giuseppe.bilotta@gmail.com>
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
---
 git-am.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git-am.sh b/git-am.sh
index 729ee51..14696d4 100755
--- a/git-am.sh
+++ b/git-am.sh
@@ -295,7 +295,7 @@ split_patches ()
 			perl -ne 'BEGIN { $subject = 0 }
 				if ($subject > 1) { print ; }
 				elsif (/^\s+$/) { next ; }
-				elsif (/^Author:/) { print s/Author/From/ ; }
+				elsif (/^Author:/) { s/Author/From/ ; print ;}
 				elsif (/^(From|Date)/) { print ; }
 				elsif ($subject) {
 					$subject = 2 ;
-- 
1.7.7.rc0.331.g25483.dirty
Previous: Sverre Rabbelier
Message 9 of 9 in “am: foreign patch support fixes”
  1. 0/2 am: foreign patch support fixesGiuseppe Bilotta, Aug 29, 2011
  2. 1/2 am: preliminary support for hg patchesGiuseppe Bilotta, Aug 29, 2011
  3. Junio C HamanoAug 29, 2011
  4. Giuseppe BilottaAug 29, 2011
  5. Junio C HamanoAug 29, 2011
  6. Giuseppe BilottaAug 30, 2011
  7. Junio C HamanoAug 30, 2011
  8. Sverre RabbelierAug 31, 2011
  9. 2/2 am: fix stgit patch manglingGiuseppe Bilotta, Aug 29, 2011

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.