bug: review pane loses previous changes after adding a nested git repo
What version of the Codex App are you using (From “About Codex” dialog)?
26.409.20454 (1462)
What subscription do you have?
pro
What platform is your computer?
macOS 26.4.1 (25E253)
What issue are you seeing?
After adding a nested Git repository inside an existing workspace repository, the Codex Review pane no longer shows the previous round of changes reliably.
In particular, the “上一轮更改” / “Previous changes” section becomes empty, even though changes were made in the prior round. The UI shows a message equivalent to “file changes will appear here or the latest diff is no longer available”.
This seems related to the review pane binding itself to the currently active Git context once a nested repo exists.
What steps can reproduce the bug?
- Open a Git repository in Codex / VS Code.
- Work for a few rounds so that the Review pane shows previous changes normally.
- Initialize a nested Git repository inside a subdirectory of the outer repo.
- Continue working in the same overall workspace.
- Open the Review pane and check “Previous changes”.
What is the expected behavior?
The Review pane should still be able to show the previous round of changes, or at minimum make it clear which repository context it is using.
Nested repositories should not silently make the previous diff disappear.
Additional information
- Outer repo: monorepo
- Inner repo: nested Git repo used for a formalization artifact
- Source Control can detect both repos, but the Review pane appears to lose the previous diff context
- This may be a repo-context selection issue rather than a raw Git detection issue
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗