Skip to content

Commit

Permalink
Fix oppia#5620: Add check for git conflict markers (oppia#5624)
Browse files Browse the repository at this point in the history
* Fix oppia#5620: Add check for git conflict markers

* Change error message

* conflict --> conflicts
  • Loading branch information
apb7 authored Sep 6, 2018
1 parent 30eb4ba commit 54972e4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/pre_commit_linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@
'message': 'Please make sure all files only have LF endings (no CRLF).',
'excluded_files': (),
'excluded_dirs': ()},
'<<<<<<<': {
'message': 'Please fully resolve existing merge conflicts.',
'excluded_files': (),
'excluded_dirs': ()},
'>>>>>>>': {
'message': 'Please fully resolve existing merge conflicts.',
'excluded_files': (),
'excluded_dirs': ()},
'glyphicon': {
'message': 'Please use equivalent material-icons '
'instead of glyphicons.',
Expand Down

0 comments on commit 54972e4

Please sign in to comment.