From 9c2b1c0cd89d8cc8a3882e85c6b6535f282bf59f Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sat, 16 Jul 2005 10:31:38 -0700 Subject: [PATCH] git-fetch-script: fix http:// breakage We were trying to fetch using the merge-head name rather than the merge-head SHA1 that we just got. Now, http:// is broken anyway right now for packing, but this should make it work for nonpacked repositories again. --- git-fetch-script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-fetch-script b/git-fetch-script index ab3b6f92bb..b44cf3f5a5 100755 --- a/git-fetch-script +++ b/git-fetch-script @@ -12,7 +12,7 @@ case "$merge_repo" in http://*) head=$(wget -q -O - "$merge_repo/$merge_head") || exit 1 echo Fetching "$merge_head" using http - git-http-pull -v -a "$merge_head" "$merge_repo/" + git-http-pull -v -a "$head" "$merge_repo/" ;; rsync://*) rsync -L "$merge_repo/$merge_head" "$TMP_HEAD" || exit 1