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 bc56876..9b40880 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`