mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-14 17:41:45 +04:00
Add logging message.
This commit is contained in:
parent
5810ee4315
commit
3ebf976afb
1 changed files with 1 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ def parse_merge_msg_for_conflicts(merge_msg):
|
||||||
|
|
||||||
@memoize_by_cwd
|
@memoize_by_cwd
|
||||||
def get_conflicted_files():
|
def get_conflicted_files():
|
||||||
|
logger.info('Checking merge-conflict files only.')
|
||||||
# Need to get the conflicted files from the MERGE_MSG because they could
|
# Need to get the conflicted files from the MERGE_MSG because they could
|
||||||
# have resolved the conflict by choosing one side or the other
|
# have resolved the conflict by choosing one side or the other
|
||||||
merge_msg = open(os.path.join('.git', 'MERGE_MSG')).read()
|
merge_msg = open(os.path.join('.git', 'MERGE_MSG')).read()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue