core-agent-ide/codex-rs/exec/src
Michael Bolin a134bdde49
fix: is_inside_git_repo should take the directory as a param (#809)
https://github.com/openai/codex/pull/800 made `cwd` a property of
`Config` and made it so the `cwd` is not necessarily
`std::env::current_dir()`. As such, `is_inside_git_repo()` should check
`Config.cwd` rather than `std::env::current_dir()`.

This PR updates `is_inside_git_repo()` to take `Config` instead of an
arbitrary `PathBuf` to force the check to operate on a `Config` where
`cwd` has been resolved to what the user specified.
2025-05-04 11:39:10 -07:00
..
cli.rs feat: make cwd a required field of Config so we stop assuming std::env::current_dir() in a session (#800) 2025-05-04 10:57:12 -07:00
event_processor.rs feat: make cwd a required field of Config so we stop assuming std::env::current_dir() in a session (#800) 2025-05-04 10:57:12 -07:00
lib.rs fix: is_inside_git_repo should take the directory as a param (#809) 2025-05-04 11:39:10 -07:00
main.rs feat: initial import of Rust implementation of Codex CLI in codex-rs/ (#629) 2025-04-24 13:31:40 -07:00