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>
This commit is contained in:
parent
46ce8b6d2a
commit
95339912b9
@ -81,7 +81,8 @@ get_remote_default_refs_for_push () {
|
|||||||
# is to help prevent randomly "globbed" ref from being chosen as
|
# is to help prevent randomly "globbed" ref from being chosen as
|
||||||
# a merge candidate
|
# a merge candidate
|
||||||
expand_refs_wildcard () {
|
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.
|
# Subroutine to canonicalize remote:local notation.
|
||||||
|
Loading…
Reference in New Issue
Block a user