Unset other env vars related to `GIT_DIR` for fixtures
Unified · Split
| @@ -600,6 +600,11 @@ fn configure_command<'a>( · 599 unmodified lines | ||
| 600 | 600 | .stderr(std::process::Stdio::piped()) |
| 601 | 601 | .current_dir(script_result_directory) |
| 602 | 602 | .env_remove("GIT_DIR") |
| 603 | + .env_remove("GIT_INDEX_FILE") | |
| 604 | + .env_remove("GIT_OBJECT_DIRECTORY") | |
| 605 | + .env_remove("GIT_ALTERNATE_OBJECT_DIRECTORIES") | |
| 606 | + .env_remove("GIT_WORK_TREE") | |
| 607 | + .env_remove("GIT_COMMON_DIR") | |
| 603 | 608 | .env_remove("GIT_ASKPASS") |
| 604 | 609 | .env_remove("SSH_ASKPASS") |
| 605 | 610 | .env("MSYS", msys_for_git_bash_on_windows) |