• Patrick Steinhardt's avatar
    repository: Convert `fetch_as_mirror()` to use `fetch_url()` · f16420e7
    Patrick Steinhardt authored
    Convert `fetch_as_mirror()` to use the newly introduced `fetch_url()`
    function. This passes all required information to fetch the given URL to
    Gitaly which transparently handles creation of the remote for us.
    
    The feature is currently hidden behind the `:gitaly_fetch_remote_params`
    feature flag.
    f16420e7
repository.rb 31.5 KB