1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

chore: relax commit message verification rules for Merge* commits

Now almost anything goes for `Merge` commits – the only requirement is
having at least one character after `Merge`, and up to 70 characters.
This commit is contained in:
Zetok Zalbavar 2016-08-10 20:06:25 +01:00
parent f05b7e040a
commit 05db561616
No known key found for this signature in database
GPG Key ID: C953D3880212068A

View File

@ -31,7 +31,7 @@ echo "" # ← formatting
# Conform, /OR ELSE/.
if git log --format=format:'%s' "$ARG" | \
grep -v -E '^((feat|fix|docs|style|refactor|perf|revert|test|chore)(\(.{,12}\))?:.{1,68})|(Merge pull request #[[:digit:]]{1,10})$'
grep -v -E '^((feat|fix|docs|style|refactor|perf|revert|test|chore)(\(.{,12}\))?:.{1,68})|(Merge(.+){,70})$'
then
echo ""
echo "Above ↑ commits don't conform to commit message format:"