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>
diff --git a/git-fetch.sh b/git-fetch.sh
index 3bed409..80f63c8 100755
--- a/git-fetch.sh
+++ b/git-fetch.sh
@@ -156,7 +156,7 @@
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