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

Use environment variabels and non-local configurations conditionally #304

Merged
merged 2 commits into from Jun 27, 2019

Conversation

tmat
Copy link
Member

@tmat tmat commented Jun 27, 2019

Add property GitRepositoryConfigurationScope that specifies whether configuration is read from environment variables and system and global user git/ssh configuration files, or just from the repository local config file.

Set GitRepositoryConfigurationScope to local on CI server to avoid build non-determinism.
In local builds read all configuration files available on the machine to allow for developer-customized repo configurations.

@tmat tmat merged commit 5f6615b into dotnet:master Jun 27, 2019
@tmat tmat deleted the GitConfigEnv branch June 27, 2019 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant