mirror of
https://github.com/openai/codex.git
synced 2026-02-01 22:47:52 +00:00
Because the path to `git` is used to construct `elicitations_to_accept`,
we need to ensure that we resolve which `git` to use the same way our
Bash process will:
c9c6560685/codex-rs/exec-server/tests/suite/accept_elicitation.rs (L59-L69)
This fixes an issue when running the test on macOS using Bazel
(https://github.com/openai/codex/pull/8875) where the login shell chose
`/opt/homebrew/bin/git` whereas the non-login shell chose
`/usr/bin/git`.