core-agent-ide/codex-rs/utils
lionel-oai 349734e38d
Fix: track only untracked paths in ghost snapshots (#7470)
# Ghost snapshot ignores

This PR should close #7067, #7395, #7405.

Prior to this change the ghost snapshot task ran `git status
--ignored=matching` so the report picked up literally every ignored
file. When a directory only contained entries matched by patterns such
as `dozens/*.txt`, `/test123/generated/*.html`, or `/wp-includes/*`, Git
still enumerated them and the large-untracked-dir detection treated the
parent directory as “large,” even though everything inside was
intentionally ignored.

By removing `--ignored=matching` we only capture true untracked paths
now, so those patterns stay out of the snapshot report and no longer
trigger the “large untracked directories” warning.

---------

Signed-off-by: lionelchg <lionel.cheng@hotmail.fr>
Co-authored-by: lionelchg <lionel.cheng@hotmail.fr>
2025-12-02 19:42:33 +01:00
..
cache chore: add cargo-deny configuration (#7119) 2025-11-24 12:22:18 -08:00
git Fix: track only untracked paths in ghost snapshots (#7470) 2025-12-02 19:42:33 +01:00
image chore: add cargo-deny configuration (#7119) 2025-11-24 12:22:18 -08:00
json-to-toml chore: add cargo-deny configuration (#7119) 2025-11-24 12:22:18 -08:00
pty chore: add cargo-deny configuration (#7119) 2025-11-24 12:22:18 -08:00
readiness chore: add cargo-deny configuration (#7119) 2025-11-24 12:22:18 -08:00
string chore: add cargo-deny configuration (#7119) 2025-11-24 12:22:18 -08:00