From: Julian Phillips <jp3@quantumfyre.co.uk> Date: Tue, 13 Feb 2007 01:21:40 +0000 (+0000) Subject: Use stdin reflist passing in parse-remote X-Git-Tag: v1.5.1-rc1~30^2~9 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/95339912b97279c29bd842fe036c70fca33d0d66 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> --- diff --git a/git-parse-remote.sh b/git-parse-remote.sh index 9b19a21667..c46131f6d6 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.