Skip to content

Conversation

@tony
Copy link
Member

@tony tony commented Jan 25, 2026

Summary

  • Adds GIT_CONFIG_GLOBAL to set_gitconfig fixture
  • When git spawns child processes (e.g., git submodule add), GIT_CONFIG is explicitly excluded from the child environment
  • GIT_CONFIG_GLOBAL IS inherited by child processes, fixing submodule operations in strict build environments

Follow-up to #512 / v0.38.5 for #509

Test plan

  • test_git_repo_fixture_submodule_file_protocol passes
  • All 18 submodule tests pass
  • Full test suite passes (565 passed)

…ocesses

why: GIT_CONFIG is excluded from child process environment by git
what:
- Add GIT_CONFIG_GLOBAL env var which IS inherited by child processes
- Fixes submodule operations in strict build environments
@codecov
Copy link

codecov bot commented Jan 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.48%. Comparing base (7f1b465) to head (89465e5).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #513   +/-   ##
=======================================
  Coverage   53.48%   53.48%           
=======================================
  Files          38       38           
  Lines        5703     5704    +1     
  Branches     1062     1062           
=======================================
+ Hits         3050     3051    +1     
  Misses       2143     2143           
  Partials      510      510           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants