From: Linus Torvalds Date: Tue, 5 Jul 2005 19:02:10 +0000 (-0700) Subject: Work around git-http-pull breakage in git-fetch-script X-Git-Tag: v0.99~72 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=f03f2ba0a558c6fbfcf40ca24da55a8e9d602e46;p=git.git Work around git-http-pull breakage in git-fetch-script Need to add a final slash. And make it verbose by default, since it's so slow that otherwise people will think it's died. --- diff --git a/git-fetch-script b/git-fetch-script index 244fc50d..8a2d37d6 100755 --- a/git-fetch-script +++ b/git-fetch-script @@ -16,7 +16,8 @@ TMP_HEAD="$GIT_DIR/TMP_HEAD" case "$merge_repo" in http://*) head=$(wget -q -O - "$merge_repo/$merge_name") || exit 1 - git-http-pull -a "$head" "$merge_repo" + echo Fetching $head using http + git-http-pull -v -a "$head" "$merge_repo/" ;; rsync://*) rsync -L "$merge_repo/$merge_name" "$TMP_HEAD" || exit 1