Answer stability round 1: 0 🔴, 2 🟡 (0 misread); read non-ASCII paths with numstat -z, and say on stderr when a chunk's details cannot be read

This commit is contained in:
2026-11-08 23:16:15 +01:00
parent 8a62df6bf5
commit b18e63653c
5 changed files with 31 additions and 17 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ def named_paths(text: str, tracked: list[str]) -> list[tuple[str, int]]:
def named_files(text: str, tracked: list[str]) -> list[str]:
"""Each tracked file that a backticked span in text names, itself or by a folder holding it, once, in tracked's order."""
"""Each tracked file that a backticked span in text names, either the file itself or a folder holding it, once, in tracked's order."""
named = spans(text)
return [path for path in tracked if any(holds(span, path) for span in named)]