git-fetch: send informational output to >&2 consistently.
authorJunio C Hamano <junkio@cox.net>
Mon, 26 Sep 2005 02:49:49 +0000 (19:49 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 27 Sep 2005 01:04:17 +0000 (18:04 -0700)
Only the "Fetching ... using http" was leaking to stdout.

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

index 822b4cd..e4a6a68 100755 (executable)
@@ -178,7 +178,7 @@ do
        head=$(curl -nsf $curl_extra_args "$remote/$remote_name") &&
        expr "$head" : "$_x40\$" >/dev/null ||
                die "Failed to fetch $remote_name from $remote"
-       echo Fetching "$remote_name from $remote" using http
+       echo >&2 Fetching "$remote_name from $remote" using http
        git-http-fetch -v -a "$head" "$remote/" || exit
        ;;
     rsync://*)