Browse Source

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>
maint
Julian Phillips 18 years ago committed by Junio C Hamano
parent
commit
95339912b9
  1. 3
      git-parse-remote.sh

3
git-parse-remote.sh

@ -81,7 +81,8 @@ get_remote_default_refs_for_push () { @@ -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.

Loading…
Cancel
Save