@matheusbsbs / matheus-bagliano / commits / 617669da4f
Fork 0

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>

Julian Phillips committed Feb 13, 2007 at 01:21 UTC 617669da4f80ecf05db7ef1976b56260e2124cc2
1 file changed +1 -1
git-fetch.sh
+1 -1
@@ -156,7 +156,7 @@ fi
156
157 fetch_native () {
158
159 - eval=$(git-fetch--tool parse-reflist "$1")
159 + eval=$(echo "$1" | git-fetch--tool parse-reflist "-")
160 eval "$eval"
161
162 ( : subshell because we muck with IFS