Undo doesn't seem to work with git submodules
Open 💬 4 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_
4 Comments
I had to remove the submodule to revert the changes😠
什么时候修复呀
<img width="800" alt="Image" src="https://github.com/user-attachments/assets/43d159f2-021f-4ca7-9d57-51466f176e9a" />
If I set "Change permissons" to "Full access", undo/reapply will work for submodules
problem still exists