summaryrefslogtreecommitdiff
path: root/git-fetch.sh
diff options
context:
space:
mode:
authorJulian Phillips <jp3@quantumfyre.co.uk>2007-02-13 01:21:41 +0000
committerJunio C Hamano <junkio@cox.net>2007-02-13 21:43:53 -0800
commit617669da4f80ecf05db7ef1976b56260e2124cc2 (patch)
tree9c161df5bfb606e200303a58b59e838c10232360 /git-fetch.sh
parent95339912b97279c29bd842fe036c70fca33d0d66 (diff)
downloadgit-617669da4f80ecf05db7ef1976b56260e2124cc2.tar.gz
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>
Diffstat (limited to 'git-fetch.sh')
-rwxr-xr-xgit-fetch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-fetch.sh b/git-fetch.sh
index 3bed4091a3..80f63c85f0 100755
--- a/git-fetch.sh
+++ b/git-fetch.sh
@@ -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