#110874Correct commit-msg hook behaviour described in AGENTS.md
Description
AGENTS.md states “No line of the message may reach 72 characters — the hook rejects the commit”. Both parts are inaccurate:
- The documented and checked limit is 72 characters per line (#103363): the hook reports lines of 73+ characters, a 72-character line is fine.
- The hook reports problems but deliberately does not abort the commit (blocking was reverted in #98094 because it could lose the commit message). It still adds a Change-Id, so agents must read the hook output instead of relying on a rejected commit.
AGENTS.md should describe the actual behaviour so coding agents check the hook output themselves.
I will create a patch for this.
Reviews 3
History 17
-
Gerrit Code Review pushed patch set 1 for main to change 96260 status
NewUnder Review <span data-processor="relativetime" data-value="2026-10-01T14:22:38+00:00" > 10/01/26, 14:22 </span> -
Gerrit Code Review pushed patch set 2 for main to change 96260 <span data-processor="relativetime" data-value="2026-10-19T12:34:35+00:00" > 10/19/26, 12:34 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 96260 <span data-processor="relativetime" data-value="2026-10-19T12:58:04+00:00" > 10/19/26, 12:58 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 96260 <span data-processor="relativetime" data-value="2026-10-19T14:52:13+00:00" > 10/19/26, 14:52 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 96871 <span data-processor="relativetime" data-value="2026-10-19T15:53:48+00:00" > 10/19/26, 15:53 </span>
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 96872 <span data-processor="relativetime" data-value="2026-10-19T15:53:54+00:00" > 10/19/26, 15:53 </span>
-
Olivier Dobberkau commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-10-19T15:55:15+00:00" > 10/19/26, 15:55 </span>
Applied in changeset commit:511c5edeee1b54eed5f2f999aa4c448754043619.