Check dump folders against the repo guard (#682 fix 3) #1113
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1116"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from fxceless/victory-fork. Originally posted by xyzMikah on 2026-11-25T20:08:24Z.
VICTORY_SHADER_SAVE, VICTORY_DUMP_MATCH and VICTORY_FAIL_DUMP wrote the title's shaders without the repo guard. Each now calls ensure_outside_repo first and skips the dump with a warning if the folder is inside the repo.
Tests added for all three: a folder inside the repo writes nothing, a folder outside writes as before.
cargo clippy and cargo test pass. Windows 11, RTX 5060 Ti, Rust 1.98.1. No game files used.
AI-assisted (Claude).
Pull request closed