threads / patch / 1555

patchLet git-format-patch-script write on stdout

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

## tl;dr

One message between Aug 17, 2005 and Aug 17, 2005. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Marco Costalba· Aug 17, 2005, 12:17 UTC · lore

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
Show changes to git-format-patch-script +1 −1
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 

← back to recent threads