Fix pre-commit #18
Reference in New Issue
Block a user
Delete Branch "build/fix-pre-commit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Moved the git hooks into shell scripts and placed them into the pre-commit configuration. Also extended robustness of the hooks.
The shell scripts were written with the help of AI.
To install the hooks, run the following commands:
You might get an error along the lines of
Can't install pre-commit with core.hooksPath set. To fix this, simply unset thehooksPathby running:To verify correctness of the changes, make sure the following are true:
ref: N25B-241
changed title from
build: fix pre-committoFix pre-commitchanged the description
marked the checklist item Able to install hooks as completed
added 3 commits
dev460dc5dc- Merge remote-tracking branch 'origin/dev' into build/fix-pre-commitCompare with previous version
marked the checklist item Incorrect type as completed
marked the checklist item Incorrect type as incomplete
marked the checklist item Incorrect type as completed
marked the checklist item Incorrect type as completed
marked the checklist item No colon after type as completed
marked the checklist item Incorrect title as completed
marked the checklist item Incorrect footer (no ref/close) as completed
marked the checklist item When attempting to commit with incorrect commit message, the commit aborts as completed
added 1 commit
e5bf6fd1- docs: update README instructions for git hooksCompare with previous version
marked the checklist item No slash after type as completed
marked the checklist item Longer than six words as completed
marked the checklist item Not separated by dashes as completed
marked the checklist item Incorrect description as completed
marked the checklist item When attempting to commit with incorrect branch name, the commit aborts as completed
marked the checklist item When attempting to commit with correct branch name and commit message, the commit succeeds as completed
added 1 commit
e025b146- docs: add suggested fix for potential issueCompare with previous version
mentioned in commit
c6edad0bb4