Skip to content

lfsapi/certs: use *config.URLConfig to do per-host config lookup#2160

Merged
ttaylorr merged 1 commit into
masterfrom
http-config-certs
Apr 17, 2017
Merged

lfsapi/certs: use *config.URLConfig to do per-host config lookup#2160
ttaylorr merged 1 commit into
masterfrom
http-config-certs

Conversation

@ttaylorr

Copy link
Copy Markdown
Contributor

This pull request updates all remaining http.{url}.* key lookups to use the new *config.URLConfig type.

I did a search via:

~/g/git-lfs (master) $ find . -type f | grep -v "\.\/vendor" | grep "\.go$" | xargs ack 'http\.'

and trimmed those down which yielded the changes made in this pull request. The only other http.* key lookup we have is here for the http.proxy config, but Git itself does not support per-host/url http.proxy-ing.


/cc @git-lfs/core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants