@matheusbsbs / matheus-bagliano / commits / 95339912b9
Fork 0

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>

Julian Phillips committed Feb 13, 2007 at 01:21 UTC 95339912b97279c29bd842fe036c70fca33d0d66
1 file changed +2 -1
git-parse-remote.sh
+2 -1
@@ -81,7 +81,8 @@ get_remote_default_refs_for_push () {
81 # is to help prevent randomly "globbed" ref from being chosen as
82 # a merge candidate
83 expand_refs_wildcard () {
84 - git fetch--tool expand-refs-wildcard "$ls_remote_result" "$@"
84 + echo "$ls_remote_result" |
85 + git fetch--tool expand-refs-wildcard "-" "$@"
86 }
87
88 # Subroutine to canonicalize remote:local notation.