Code

format-patch: output filename reported to stdout verbatim.
authorJunio C Hamano <junkio@cox.net>
Sat, 26 Nov 2005 20:09:07 +0000 (12:09 -0800)
committerJunio C Hamano <junkio@cox.net>
Sat, 26 Nov 2005 20:09:07 +0000 (12:09 -0800)
Prepending asterisk to the output was just adding noise, and
making scripts like proposed git-send-mail by Andreas Ericsson
do unnecessary work.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-format-patch.sh

index bc5687653150ff1e27720173b137d759d60c74c6..9b4088045a5d53ceb1b893e5f6bda575518d36c1 100755 (executable)
@@ -268,7 +268,7 @@ do
     file=`printf '%04d-%stxt' $i "$title"`
     if test '' = "$stdout"
     then
-           echo "$file"
+           echo "$file"
            process_one >"$outdir$file"
            if test t = "$check"
            then
@@ -279,7 +279,7 @@ do
                :
            fi
     else
-           echo >&2 "$file"
+           echo >&2 "$file"
            process_one
     fi
     i=`expr "$i" + 1`