You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Read Rust file names from Git without quote decoding errors #892
rust_files runs line-delimited git ls-files and treats each line as a literal path. Git quotes non-ASCII and control-character filenames by default, so the helper silently skips valid tracked Rust files.
Reproduction
At fd07427f4a976de05e38eff3ee1760db97fbb761, a focused stub supplied the normal quoted Git record "caf\303\251.rs" for an existing café.rs file. list(rust_files()) returned []. This is a helper-level executed reproduction; no repository files were renamed. See tools/format-rust.py.
Scope
Use an unambiguous Git filename protocol, such as NUL-delimited output, preserving spaces, Unicode and embedded newlines. Difficulty: easy.
Completion criteria
Visit every existing tracked Rust path without silent skipping.
Test Unicode, spaces and escaped/control-character filenames.
Activity
tecnolgd commentedon Oct 9, 2026
Hey @LunaStev , I'd like to work on this issue. Could you please assign it to me?
LunaStev commentedon Oct 9, 2026
Yes thank you