Files
Theo BrowneandClaude Fable 5 bcebb793b0 fix: decode quoted paths as UTF-8 and count hidden git files from patch sections
- Git C-style quoting octal-escapes raw UTF-8 bytes; decoding each escape
  with String.fromCharCode produced mojibake, so attribution lookups missed
  quoted non-ASCII paths and their sections were never filtered (macroscope,
  bugbot). stripGitPathQuoting now decodes into a byte buffer and UTF-8
  decodes the result.
- gitFileCount counted every git-attributed path in the attribution map,
  overstating hidden files when a path had no section in the patch (e.g.
  whitespace-only changes elided by ignoreWhitespace) and double-counting
  renames from the --no-renames map (macroscope, bugbot). It now counts
  git-attributed sections actually present in the patch, so the banner
  matches what the toggle can reveal.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-23 13:44:17 -07:00
..