Skip to content

Commit

Permalink
Ignore stuff below the comments
Browse files Browse the repository at this point in the history
  • Loading branch information
myint committed Dec 3, 2016
1 parent 9c35b6e commit 4dffe9c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion syntax_checkers/gitcommit/proselint_wrapper.py
Expand Up @@ -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:
Expand Down

0 comments on commit 4dffe9c

Please sign in to comment.