Add: post-merge hook support

This commit is contained in:
Paweł Sacawa
2021-01-21 06:26:20 -05:00
committed by Anthony Sottile
parent d7b189ce56
commit 6b73138c73
9 changed files with 82 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ VERSION = importlib_metadata.version('pre_commit')
# `manual` is not invoked by any installed git hook. See #719
STAGES = (
'commit', 'merge-commit', 'prepare-commit-msg', 'commit-msg',
'post-commit', 'manual', 'post-checkout', 'push',
'post-commit', 'manual', 'post-checkout', 'push', 'post-merge',
)
DEFAULT = 'default'