Use stdin reflist passing in git-fetch.sh

Use the new stdin reflist passing mechanism for the call to
fetch--tool parse-reflist, allowing passing of more than ~128K
of reflist data.

Signed-off-by: Julian Phillips <julian@quantumfyre.co.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Julian Phillips 2007-02-13 01:21:41 +00:00 committed by Junio C Hamano
parent 95339912b9
commit 617669da4f

View File

@ -156,7 +156,7 @@ fi
fetch_native () {
eval=$(git-fetch--tool parse-reflist "$1")
eval=$(echo "$1" | git-fetch--tool parse-reflist "-")
eval "$eval"
( : subshell because we muck with IFS