@matheusbsbs / matheus-bagliano / commits / 0b7a9fc971
Fork 0

git-fetch: send informational output to >&2 consistently.

Only the "Fetching ... using http" was leaking to stdout. Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Sep 25, 2005 at 19:49 UTC 0b7a9fc971712308712fedbba404f7b448e37d45
1 file changed +1 -1
git-fetch.sh
+1 -1
@@ -178,7 +178,7 @@ do
178 head=$(curl -nsf $curl_extra_args "$remote/$remote_name") &&
179 expr "$head" : "$_x40\$" >/dev/null ||
180 die "Failed to fetch $remote_name from $remote"
181 - echo Fetching "$remote_name from $remote" using http
181 + echo >&2 Fetching "$remote_name from $remote" using http
182 git-http-fetch -v -a "$head" "$remote/" || exit
183 ;;
184 rsync://*)