Answer stability round 1: 1 🔴, 4 🟡 (0 misread); keep credentials out of questions, stop a clone that waits, ask where a file is in the way

This commit is contained in:
2026-11-18 13:19:55 +01:00
parent 59e176743f
commit 901a7d698f
5 changed files with 63 additions and 42 deletions
+2 -2
View File
@@ -350,8 +350,8 @@ def held(folder: pathlib.Path, home: pathlib.Path) -> ProjectConfig | Failure |
return config if isinstance(config, Failure) else load(config[0], config[0], home)
def named(name: str, home: pathlib.Path) -> ProjectConfig | Failure | None:
"""The config of the project whose main checkout is a folder called name, which may not exist yet, loaded as `held` does; None where no config names one. A config that cannot be read fails every name, since it may be the one asked for."""
def by_name(name: str, home: pathlib.Path) -> ProjectConfig | Failure | None:
"""The config of the project whose main checkout is a folder called name, though that folder may not exist yet, loaded as `held` does; None where no config names one. A config that cannot be read fails every name, since it may be the one asked for."""
files = []
for file in configs(home):
config = read(file, home)