We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d80ac0f commit ba6779aCopy full SHA for ba6779a
build-aux/git-hooks/commit-msg
@@ -92,6 +92,11 @@ exec $awk \
92
status = 1
93
}
94
95
+ /(^|[^\\])`[^'\''`]+`/ {
96
+ print "Markdown-style quotes in commit message"
97
+ status = 1
98
+ }
99
+
100
nlines == 0 && $0 !~ non_space { next }
101
102
{ nlines++ }
build-aux/git-hooks/prepare-commit-msg
@@ -40,10 +40,6 @@ exec $awk "
40
print \"'Signed-off-by:' in commit message\"
41
42
43
- /(^|[^\\\\])\`[^'\`]+\`/ {
44
- print \"Markdown-style quotes in commit message\"
45
- status = 1
46
- }
47
END {
48
if (status != 0) {
49
print \"Commit aborted; please see the file 'CONTRIBUTE'\"
0 commit comments