A repository's first push to main is a branch-create push whose head is a root commit: event.before is all-zeros and MERGE_SHA^1 does not exist, so the fallback died at exit 128 before establishing a fact. The parent count is now read via rev-list --parents (a fact, not an inferred failure), the no-base path skips the belt-and-braces fetch and the base git show, and an unresolvable MERGE_SHA still fails loudly. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| changelog.sh | ||
| decide.sh | ||
| facts.sh | ||
| ruling.sh | ||
| version.sh | ||