Skip to content

Ensure uv invocations of git do not inherit repository location environment variables#19088

Merged
EliteTK merged 3 commits intomainfrom
tk/git-env-pollution
Apr 21, 2026
Merged

Ensure uv invocations of git do not inherit repository location environment variables#19088
EliteTK merged 3 commits intomainfrom
tk/git-env-pollution

Conversation

@EliteTK
Copy link
Copy Markdown
Contributor

@EliteTK EliteTK commented Apr 20, 2026

Summary

These variables can break uv's use of git when set.

Fixes #19008.

Closes #19042.

Test Plan

Added a test + existing coverage.

@EliteTK EliteTK added the bug Something isn't working label Apr 20, 2026
@EliteTK EliteTK force-pushed the tk/git-env-pollution branch from bdcd8aa to 98e2fa1 Compare April 21, 2026 17:35
@EliteTK EliteTK marked this pull request as ready for review April 21, 2026 17:35
@EliteTK EliteTK requested a review from konstin April 21, 2026 17:35
@EliteTK EliteTK enabled auto-merge (squash) April 21, 2026 17:39
@EliteTK EliteTK merged commit 83d15da into main Apr 21, 2026
53 checks passed
@EliteTK EliteTK deleted the tk/git-env-pollution branch April 21, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

uv git dependency fetch breaks when GIT_DIR is set in environment

2 participants