Answer prose round 1: 0 🔴, 5 🟡; state the weight rule once with its date, reword item 209, and keep the changelog and comments to what a reader needs

This commit is contained in:
2026-10-22 19:55:09 +02:00
parent bb6224bbb2
commit 9e08a2b5c6
5 changed files with 9 additions and 9 deletions
+3 -1
View File
@@ -1,4 +1,6 @@
"""Run git, in the current directory or a given one, as the one place among bin/'s tools that starts it, and read the checkout, its default branch and its files."""
"""Run git, in the current directory or a given one, and read the checkout, its default branch and its files.
Every tool in bin/ starts git through `git` here."""
import os
import re
import subprocess
+1 -1
View File
@@ -111,7 +111,7 @@ def noted(notes: list[str]) -> str:
def run_scores(run: Entry, top: str) -> tuple[RunScores | None, list[str]] | Failure:
"""The run's scores, and why each file left out was: git could not show it as UTF-8, or it does not parse."""
# A tracked name that is not UTF-8 fails the run rather than reading with its bytes replaced: every tool in bin/ reads git's output through git_repo.git's one contract.
# A tracked name that is not UTF-8 fails the run rather than reading with its bytes replaced.
listed = git("ls-tree", "-r", "-z", "--name-only", run.commit, cwd=top)
if isinstance(listed, Failure):
return listed