The pre-commit stage runs before the commit is created, so it can't validate the commit being made. The commit-msg stage receives the message file as argv[1], allowing the hook to include the pending commit in its invariant check. Also works standalone (no args) for validating existing branch history. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| authentik | ||
| configuration | ||
| deployment | ||
| forgejo-runner | ||
| grafana | ||
| knowledgebase | ||
| operations | ||
| plans | ||
| ringtail | ||
| zot | ||
| agent-change-process.md | ||
| how-to.md | ||