ci: Blacklist .c and .h in the commit message subject prefix

`boxes.c: Do that` should be just `boxes: Do that`.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/519
This commit is contained in:
Jonas Ådahl 2019-04-02 10:47:06 +02:00 committed by Georges Basile Stavracas Neto
parent 7b3dee2d97
commit 72aeeb8c37

View File

@ -32,6 +32,11 @@ function commit_message_subject_is_compliant() {
return 1 return 1
fi fi
if echo "$commit_message_subject" | grep -qe "\.[ch]:"; then
echo " - message subject prefix should not include .c, .h, etc."
return 1
fi
return 0 return 0
} }