Read a project's language, title templates and branch template from its config
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user