diff --git a/syntax_checkers/gitcommit/proselint_wrapper.py b/syntax_checkers/gitcommit/proselint_wrapper.py index 76a4560..f868019 100755 --- a/syntax_checkers/gitcommit/proselint_wrapper.py +++ b/syntax_checkers/gitcommit/proselint_wrapper.py @@ -21,7 +21,9 @@ def main(): try: for line in input_file.readlines(): if line.startswith('#'): - input_lines.append('\n') + # Ignore everything below the comments like the diff that + # shows up in verbose commit mode. + break else: input_lines.append(line) finally: