Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lfsapi: prefer proxying from gitconfig before environment #3062

Merged
merged 2 commits into from Jun 21, 2018

Conversation

ttaylorr
Copy link
Contributor

This pull request changes the behavior of package lfsapi to prefer the HTTP(s) proxy values originating from the environment, rather than the Git configuration.

As noted in #3060, this was originally the case when it was introduced in #1358, but was changed in #1787.

From the Git documentation [1]:

http.proxy

Override the HTTP proxy, normally configured using the http_proxy, https_proxy, and all_proxy environment variables (see curl(1)). [...]

This is technically a breaking change, but it's one that I would feel comfortable releasing along the v2.5.0 line, since holding back such a small patch until v3.0.0 feels unwise.

Closes: #3060.

/cc @git-lfs/core @larsxschneider
/cc #3060 @kenyon

@ttaylorr ttaylorr added the bug label Jun 13, 2018
@ttaylorr ttaylorr added this to the v2.5.0 milestone Jun 13, 2018
@ttaylorr ttaylorr changed the title lfsapi: prefer proxying from environment before gitconfig lfsapi: prefer proxying from gitconfig before environment Jun 13, 2018
@ttaylorr ttaylorr force-pushed the lfsapi-env-before-gitconfig branch from fef3d76 to 5db9370 Compare June 13, 2018 17:30
@ttaylorr ttaylorr merged commit 234360a into master Jun 21, 2018
@ttaylorr ttaylorr deleted the lfsapi-env-before-gitconfig branch June 21, 2018 20:32
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.

None yet

1 participant