Commit 521a8da6 authored by Carlos Martín Nieto's avatar Carlos Martín Nieto
Browse files

remote: refuse to load multi-url remotes

A remote can have more than a single entry in url or pushurl. Git uses
this to perform multiple fetches or pushes, which can be useful for
redundancy, but we currently cannot handle this.

What we would do is fetch from or push to the last of the urls (as we
consider them single-value fields), which would at best be confusing,
but would also break the user's expectations.

in order to avoid this, check whether the remote we're trying to lookup
has mutliple urls and refuse to load it.
parent 542a7de0
No related merge requests found
Showing with 47 additions and 11 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment