mirror of
https://github.com/openai/codex.git
synced 2026-12-01 00:20:48 +00:00
## Why The TUI can silently omit untracked files when Git quotes their names, when their names have leading or trailing whitespace, or when they disappear between listing and comparison. ## What changed Read NUL-delimited paths from `git ls-files` without trimming them, skip directory entries for untracked nested repositories, and use Git's `/dev/null` handling across local and remote workspaces. Warn when an untracked file can't be compared while still showing the available patches. ## Testing Exercise a clean repository and an untracked file named ` café.txt` beside a nested repository. Verify that a missing file produces a warning while tracked and other untracked patches remain visible, including a patch that Git emits alongside a line-ending warning. GitOrigin-RevId: b92922ea49928381504dc11b71d599c60dbb7068