summaryrefslogtreecommitdiff
path: root/git-parse-remote.sh
diff options
context:
space:
mode:
authorJulian Phillips <jp3@quantumfyre.co.uk>2007-02-13 01:21:40 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-02-14 05:43:53 (GMT)
commit95339912b97279c29bd842fe036c70fca33d0d66 (patch)
treefac2c391dc5848d1a430a32c6a963f97e088c125 /git-parse-remote.sh
parent46ce8b6d2a88b67a839fb53bfa0b8849215352b5 (diff)
downloadgit-95339912b97279c29bd842fe036c70fca33d0d66.zip
git-95339912b97279c29bd842fe036c70fca33d0d66.tar.gz
git-95339912b97279c29bd842fe036c70fca33d0d66.tar.bz2
Use stdin reflist passing in parse-remote
Use the new stdin reflist passing mechanism for the call to fetch--tool expand-refs-wildcard, 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-parse-remote.sh')
-rwxr-xr-xgit-parse-remote.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-parse-remote.sh b/git-parse-remote.sh
index 9b19a21..c46131f 100755
--- a/git-parse-remote.sh
+++ b/git-parse-remote.sh
@@ -81,7 +81,8 @@ get_remote_default_refs_for_push () {
# is to help prevent randomly "globbed" ref from being chosen as
# a merge candidate
expand_refs_wildcard () {
- git fetch--tool expand-refs-wildcard "$ls_remote_result" "$@"
+ echo "$ls_remote_result" |
+ git fetch--tool expand-refs-wildcard "-" "$@"
}
# Subroutine to canonicalize remote:local notation.