Commit e6fd6b2
fix(hooks): correct the false deferral claim in check-regen-pending.mjs and .githooks/pre-commit (#14545)
Both sibling copies of the false claim corrected in os-regen-merge.sh by
#14154 survived: the hook's refuse-stale message and the pre-commit header
still said this hook records the sanctioned landing sequence's step-3
commit as a deferral. It does not — step 1's merge auto-commits with no
hook run at all (git skips pre-commit for a merge it completes itself), so
the marker is untouched going into step 3, whose commit is an ordinary one
this hook refuses on purpose. That refusal is the designed collection
point, not a deferral.
The deferral mode (#8047) is real, but applies only to a merge commit
finished BY HAND with MERGE_HEAD present at commit time — a conflicted
merge an operator resolves and finishes with `git commit`. Both texts now
state that precisely, mirroring the reference wording already correct in
scripts/pm/os-regen-merge.sh:110-115.
Fixes #14470
Co-authored-by: Claude <noreply@anthropic.com>1 parent 0e68ed2 commit e6fd6b2
2 files changed
Lines changed: 17 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
15 | 21 | | |
16 | 22 | | |
17 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
414 | | - | |
415 | | - | |
416 | | - | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
417 | 419 | | |
418 | 420 | | |
419 | 421 | | |
| |||
0 commit comments