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

[vcpkg_apply_patches] Work around /etc/gitconfig: Permission denied #14848

Merged
merged 1 commit into from
Nov 30, 2020

Conversation

ras0219
Copy link
Contributor

@ras0219 ras0219 commented Nov 30, 2020

The current CI system on linux and osx is experiencing issues due to some problems with /etc/gitconfig. This PR works around the issue entirely by instructing git to not read the system config file at all when applying patches.

The environment variable GIT_CONFIG_NOSYSTEM is documented here.

An example PR that hit this issue is #14825.

@strega-nil @JackBoosY

@strega-nil strega-nil merged commit 7c08030 into microsoft:master Nov 30, 2020
@ras0219 ras0219 deleted the dev/roschuma/gitconfig branch November 30, 2020 18:20
@ras0219
Copy link
Contributor Author

ras0219 commented Nov 30, 2020

@strega-nil Turns out I was wrong about this being the problem with #14825. I think it's likely a good change regardless, but I've suggested the actual fix on that PR as a review.

@JackBoosY JackBoosY self-assigned this Dec 1, 2020
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.

4 participants