normalizeRemoteURL() converts http:// to git+http://, which breaks Dolt remotesapi endpoints. Stop normalizing URLs from sync.remote (user explicitly chose the format) while keeping normalization for auto-detected git origin URLs. Also add git+http to allowedSchemes in remotecache so ValidateRemoteURL accepts it. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cache.go | ||
| cache_test.go | ||
| url.go | ||
| url_test.go | ||