summaryrefslogtreecommitdiff
path: root/git-fetch.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-09-26 02:49:49 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-09-27 01:04:17 (GMT)
commit0b7a9fc971712308712fedbba404f7b448e37d45 (patch)
treec648272a6d074553403faa862880c49ca1d2f46e /git-fetch.sh
parentdeca7e8c591608c9ffd0bf0aaf10b379da9f6d6e (diff)
downloadgit-0b7a9fc971712308712fedbba404f7b448e37d45.zip
git-0b7a9fc971712308712fedbba404f7b448e37d45.tar.gz
git-0b7a9fc971712308712fedbba404f7b448e37d45.tar.bz2
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>
Diffstat (limited to 'git-fetch.sh')
-rwxr-xr-xgit-fetch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-fetch.sh b/git-fetch.sh
index 822b4cd..e4a6a68 100755
--- a/git-fetch.sh
+++ b/git-fetch.sh
@@ -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://*)