#107881Standardize commit-msg hook error to mention only Resolves: tag
Description
The commit-msg hook displays a misleading error message suggesting contributors can use either Resolves: or Fixes: tags, but TYPO3 community practice has standardized on using only Resolves: for consistency.
## Current Behavior
Error message (line 218 in Build/git-hooks/commit-msg):
```
You need at least one ‘Resolves|Fixes: #<issue number>‘ line.<br>```</issue>
## Expected Behavior
Should be:
```
You need at least one ‘Resolves: #<issue number>‘ line.<br>```</issue>
## Rationale
Core team members emphasized that TYPO3 uses only Resolves: and should not make this chooseable to prevent inconsistent commit message practices.
## Solution
Update line 218 in Build/git-hooks/commit-msg to remove Fixes: from error message.
The validation regex remains unchanged for backward compatibility.
## References
- Documentation PR: https://github.com/TYPO3-Documentation/TYPO3CMS-Guide-ContributionWorkflow/pull/397
- Code: https://github.com/TYPO3/typo3/blob/main/Build/git-hooks/commit-msg#L218
Reviews 2
History 27
-
Gerrit Code Review pushed patch set 1 for main to change 91302 status
NewUnder Review 10/28/25, 10:34 -
Gerrit Code Review pushed patch set 2 for main to change 91302 10/28/25, 10:57
-
Gerrit Code Review pushed patch set 3 for main to change 91302 11/01/25, 23:59
-
Gerrit Code Review pushed patch set 4 for main to change 91302 11/02/25, 09:01
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 93073 03/04/26, 20:06
-
Netresearch DTT GmbH commented and changed status
Under ReviewResolved done0 %100 % 03/04/26, 20:10 -
Benni Mack changed status
ResolvedClosed 03/31/26, 09:00
Applied in changeset commit:2e2474fe4250d375a9979e621a0dca3ce727673f.