Name the four kinds of breach, the two level rules and the round title's spelling, and table the step-up rules
This commit is contained in:
@@ -30,5 +30,6 @@ def earlier_titles(directory: str, amends: bool) -> list[str]:
|
||||
default = git_repo.default_ref(directory, guarded=True)
|
||||
titles = default if isinstance(default, Failure) else git_repo.branch_titles(default, directory, timeout=5, guarded=True)
|
||||
if isinstance(titles, Failure):
|
||||
# Counting no earlier title lets the commit through unless its own number is past the cap: a hook that refused here would stop every round commit of an unattended run whose git is slow or whose origin has no default branch.
|
||||
return []
|
||||
return titles[1:] if amends else titles
|
||||
|
||||
Reference in New Issue
Block a user