parent
371f60413a
commit
3e5e2b52ea
2 changed files with 11 additions and 0 deletions
@ -0,0 +1,10 @@ |
|||||||
|
#!/usr/bin/env bash |
||||||
|
|
||||||
|
FAIL=0 |
||||||
|
|
||||||
|
if grep -n '\(#\|//\)\([[:space:]]*\)NOMERGE' $@; then |
||||||
|
echo -e "NOMERGE comments found! Remove them before merging\n" |
||||||
|
FAIL=1 |
||||||
|
fi |
||||||
|
|
||||||
|
exit $FAIL |
Loading…
Reference in new issue