Skip to main content

enter_all_files_mode

Function enter_all_files_mode 

Source
pub fn enter_all_files_mode()
Expand description

Point every check at git ls-files instead of the index.

THE definition, called from both entry points. There used to be two: this one, and a copy in main.rs built from a RAW ls-files — no -z — whose output git QUOTES for any unusual byte, so é.json arrived as the nine-byte literal "\303\251.json" and was handed to prettier and eslint as a path that does not exist. And because override_file_set writes a OnceLock, main’s quoted list WON: whichever ran first was the one that counted, and main’s ran first. git.rs documents this exact failure.