VS Code extension repeatedly spawns git rev-parse --show-toplevel in multi-repository workspace when Codex panel is active

Open 💬 0 comments Opened Jul 14, 2026 by btaber2gh

What version of the Codex App are you using (From “About Codex” dialog)?

Codex extension 26.5707.71524

What subscription do you have?

Plus

What platform is your computer?

Windows 11 (10.0.26200)

What issue are you seeing?

When the Codex panel is activated in a workspace containing several nested Git repositories, git.exe is spawned continuously running:

git -c core.hooksPath=NUL -c core.fsmonitor= rev-parse --show-toplevel

CPU usage rises noticeably. Closing VS Code immediately stops the Git processes.

Codex hidden → no repeated Git processes.
Click Codex tab → repeated git rev-parse --show-toplevel.
Git Output channel does not show these commands.
Process Explorer shows the Git processes are children of the VS Code process.
Switching to a folder containing only one Git repository causes the Git loop to stop and CPU returns to normal.

What steps can reproduce the bug?

..

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗