28f9b73d2f
Currently, if you have a remote with a file URL but have lfs.url set to point to a non-file URL, your transfers will fail. This occurs because we look up whether to use a transfer adapter based on the remote URL, but we also look up whether to default to the built-in transfer adapter based on the remote URL, not the endpoint URL. We then attempt to pass the HTTP URL to the standalone transfer adapter, which doesn't work. Look up the endpoint URL as well and pass that to the code which determines whether we should use the builtin transfer adapter. If the actual endpoint is not a file URL, then we won't suggest the builtin transfer adapter. |
||
---|---|---|
.. | ||
schemas | ||
adapterbase.go | ||
api_test.go | ||
api.go | ||
basic_download.go | ||
basic_upload.go | ||
custom_test.go | ||
custom.go | ||
errors_test.go | ||
errors.go | ||
manifest_test.go | ||
manifest.go | ||
meter.go | ||
transfer_queue_test.go | ||
transfer_queue.go | ||
transfer_test.go | ||
transfer.go | ||
tus_upload.go | ||
verify_test.go | ||
verify.go |