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>
This commit is contained in:
parent
deca7e8c59
commit
0b7a9fc971
@ -178,7 +178,7 @@ do
|
|||||||
head=$(curl -nsf $curl_extra_args "$remote/$remote_name") &&
|
head=$(curl -nsf $curl_extra_args "$remote/$remote_name") &&
|
||||||
expr "$head" : "$_x40\$" >/dev/null ||
|
expr "$head" : "$_x40\$" >/dev/null ||
|
||||||
die "Failed to fetch $remote_name from $remote"
|
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
|
git-http-fetch -v -a "$head" "$remote/" || exit
|
||||||
;;
|
;;
|
||||||
rsync://*)
|
rsync://*)
|
||||||
|
Loading…
Reference in New Issue
Block a user