Limit Codex diff view to the current project subdirectory
Resolved 💬 1 comment Opened Mar 17, 2026 by agirardeau Closed May 2, 2026
What variant of Codex are you using?
App
What feature would you like to see?
I’d like Codex to support scoping the git diff viewer to the files that are actually inside the currently opened project directory, even when that project lives inside a larger git repository.
My setup is a monorepo with multiple projects in subdirectories. When I use Codex from one project folder, the diff viewer shows changes from the entire enclosing git repo. That makes review noisier and creates confusion about which edits are relevant to the project I’m actively working in.
Requested behavior:
- Add an option to limit the diff viewer to the current project/workspace subdirectory
- Treat the opened project directory as the default review scope, even if git operations still resolve against the repository root
Additional information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗