core-agent-ide/codex-rs/utils/git/src
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
..
apply.rs chore: merge git crates (#5909) 2025-10-29 12:11:44 +00:00
branch.rs feat: git branch tooling (#6831) 2025-11-18 15:26:09 +00:00
errors.rs chore: merge git crates (#5909) 2025-10-29 12:11:44 +00:00
ghost_commits.rs Fix: track only untracked paths in ghost snapshots (#7470) 2025-12-02 19:42:33 +01:00
lib.rs feat: warning large commits (#6838) 2025-11-19 10:22:10 +00:00
operations.rs chore: merge git crates (#5909) 2025-10-29 12:11:44 +00:00
platform.rs chore: merge git crates (#5909) 2025-10-29 12:11:44 +00:00