sys/vfs/hammer2: Fix multiple "radii" -> "radix"
[dragonfly.git] / tools / commit-msg
blobba74a2bbb296eef3082ceeee2eeb723cef174def
1 #!/bin/sh
3 # This commit-msg hook tries to guess whether the current commit addresses
4 # an existing bug based on a number of keywords in the commit message and
5 # reminds the committer of backporting it.
7 grep -v '^#' "$1" |
8 grep -Eiq 'CVE|vulnerability|fix|panic|bug|Reported-by|Dragonfly-bug'
9 if [ $? -eq 0 ]; then
10 echo ''
11 echo 'NOTE: This commit seems to fix an existing issue;' \
12 'please consider backporting it to the current stable release.'
13 echo ''
16 exit 0