Add a new hook to forbid new submodules

This commit is contained in:
Anthony Sottile 2016-11-30 09:56:42 -08:00
parent 7539d8bd1a
commit 70e405ede2
7 changed files with 75 additions and 5 deletions

View file

@ -2,7 +2,6 @@ from __future__ import print_function
import argparse
import os.path
import sys
CONFLICT_PATTERNS = [
b'<<<<<<< ',
@ -41,5 +40,6 @@ def detect_merge_conflict(argv=None):
return retcode
if __name__ == '__main__':
sys.exit(detect_merge_conflict())
exit(detect_merge_conflict())