Skip to content

api_hashable: retain access to global gitconfig #20110

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

Merged
merged 1 commit into from
Jun 14, 2025

Conversation

Bo98
Copy link
Member

@Bo98 Bo98 commented Jun 14, 2025

This fixes a significant performance issue with generating the API if git commands fail without particular settings you have in your ~/.gitconfig, causing each package to reattempt shelling out to git. We were setting $HOME to a fake value which would have blocked access to this config.

It is unlikely CI hit this but I did locally.

Copy link
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, thanks!

@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Jun 14, 2025
Merged via the queue into master with commit 6301c2d Jun 14, 2025
33 checks passed
@MikeMcQuaid MikeMcQuaid deleted the api-hashable-git-config branch June 14, 2025 08:08
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.

3 participants