Undo doesn't seem to work with git submodules
Open 💬 3 comments Opened Feb 25, 2026 by JamesAPetts
What version of the IDE extension are you using?
0.4.76
What subscription do you have?
Business
Which IDE are you using?
Cursor + VS Code
What platform is your computer?
Darwin 23.1.0 arm64 arm
What issue are you seeing?
When you run a prompt to get a diff, if git submodules are touched, and you don't like the commit, clicking undo does not undo the change.
What steps can reproduce the bug?
Make a repo with a submodule.
Ask for a simple prompt that will change a submodule file.
Click undo on the diff.
Check the status of the branch on the submodule, the diff is not undone.
What is the expected behavior?
codex's undo button should undo all diffs, even for git submodules.
Additional information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗