Skip to content

Commit

Permalink
git-clone: fix dumb protocol transport to clone from pack-pruned ref
Browse files Browse the repository at this point in the history
This forward-ports a fix from 2986c02 to git-clone.

Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Apr 21, 2007
1 parent 9bc20aa commit 928c210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Perhaps git-update-server-info needs to be run there?"
else
tname=$name
fi
git-http-fetch $v -a -w "$tname" "$name" "$1" || exit 1
git-http-fetch $v -a -w "$tname" "$sha1" "$1" || exit 1
done <"$clone_tmp/refs"
rm -fr "$clone_tmp"
http_fetch "$1/HEAD" "$GIT_DIR/REMOTE_HEAD" ||
Expand Down

0 comments on commit 928c210

Please sign in to comment.