Read a project's language, title templates and branch template from its config

This commit is contained in:
2026-11-14 01:08:48 +01:00
parent 499d1772be
commit 82f4bbd91b
22 changed files with 316 additions and 43 deletions
+1 -1
View File
@@ -122,6 +122,6 @@ def bash_breaches(command: str, cwd: str, home: str) -> list[Breach]:
simples = simple_commands(command, cwd, home)
found = commits(simples, home)
in_files = [breach for directory in dict.fromkeys(commit.directory for commit in found) for breach in committed_file_breaches(directory)]
round_cap = [breach for commit in found for breach in round_cap_breaches(commit)]
round_cap = [breach for commit in found for breach in round_cap_breaches(commit, pathlib.Path(home))]
todo = [breach for commit in found for breach in todo_breaches(commit.directory, pathlib.Path(home))]
return command_breaches(command, simples, home) + round_cap + todo + in_files