support pre-merge-commit

This commit is contained in:
Anthony Sottile 2019-11-06 19:13:12 -08:00
parent bf68512e7d
commit c699e255a1
6 changed files with 39 additions and 6 deletions

View file

@ -26,6 +26,9 @@ LOCAL_REPO_VERSION = '1'
VERSION = importlib_metadata.version('pre_commit')
# `manual` is not invoked by any installed git hook. See #719
STAGES = ('commit', 'prepare-commit-msg', 'commit-msg', 'manual', 'push')
STAGES = (
'commit', 'merge-commit', 'prepare-commit-msg', 'commit-msg', 'manual',
'push',
)
DEFAULT = 'default'