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

[PATCH] Let git-format-patch-script write on stdout

From
MCMarco Costalba <mcostalba@yahoo.it>
Date
Aug 17, 2005, 12:17 UTC
Message-ID
<20050817121727.39967.qmail@web26309.mail.ukl.yahoo.com>

Avoid that git-format-patch writes out patch series information on stderr when there are no errors

Signed-off-by: Marco Costalba <mcostalba@yahoo.it>
---
 git-format-patch-script |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
47238497f48d19a0bf44eb9b23875bbb8e8a12aa
diff --git a/git-format-patch-script b/git-format-patch-script
--- a/git-format-patch-script
+++ b/git-format-patch-script
@@ -146,7 +146,7 @@ do
 
     file=`printf '%04d-%stxt' $i "$title"`
     i=`expr "$i" - 1`
-    echo >&2 "* $file"
+    echo >&1 "* $file"
     {
 	mailScript='
 	/./d



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Message 1 of 1 in “Let git-format-patch-script write on stdout”
  1. Let git-format-patch-script write on stdoutMarco Costalba, Aug 17, 2005

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.