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.
8 grep -Eiq 'CVE|vulnerability|fix|panic|bug|Reported-by|Dragonfly-bug'
11 echo 'NOTE: This commit seems to fix an existing issue;' \
12 'please consider backporting it to the current stable release.'