@matheusbsbs / matheus-bagliano / commits / 928c210a47
Fork 0

git-clone: fix dumb protocol transport to clone from pack-pruned ref

This forward-ports a fix from 2986c022 to git-clone. Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Apr 20, 2007 at 17:25 UTC 928c210a47fb7e38c56744bb14570638e6c23d7f
1 file changed +1 -1
git-clone.sh
+1 -1
@@ -60,7 +60,7 @@ Perhaps git-update-server-info needs to be run there?"
60 else
61 tname=$name
62 fi
63 - git-http-fetch $v -a -w "$tname" "$name" "$1" || exit 1
63 + git-http-fetch $v -a -w "$tname" "$sha1" "$1" || exit 1
64 done <"$clone_tmp/refs"
65 rm -fr "$clone_tmp"
66 http_fetch "$1/HEAD" "$GIT_DIR/REMOTE_HEAD" ||