Invalid git submodules handling
Open 💬 1 comment Opened Mar 17, 2026 by rubnogueira
What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.313.41036 (1032)
What subscription do you have?
Plus
What platform is your computer?
Darwin 25.3.0 arm64 arm
What issue are you seeing?
When I ask for a change in a project that has a submodule, the change is properly edited, but the diff shows the wrong path.
For example:
./gitrepo (open Codex in this folder)
./gitrepo/submodule/src/index.ts
./gitrepo/submodule/src/example/file.ts
Codex can edit the files in the submodule, but the changes show that edit files are located in:
src/index.ts
src/example/file.ts
This makes it impossible to follow the link of the edit file, undo change, etc.
What steps can reproduce the bug?
Previous block.
What is the expected behavior?
_No response_
Additional information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗