mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Add: post-rewrite hook support
This commit is contained in:
parent
3bab1514c3
commit
4cd8b364dd
9 changed files with 70 additions and 1 deletions
|
|
@ -72,6 +72,7 @@ def run_opts(
|
|||
commit_msg_filename='',
|
||||
checkout_type='',
|
||||
is_squash_merge='',
|
||||
rewrite_command='',
|
||||
):
|
||||
# These are mutually exclusive
|
||||
assert not (all_files and files)
|
||||
|
|
@ -92,6 +93,7 @@ def run_opts(
|
|||
commit_msg_filename=commit_msg_filename,
|
||||
checkout_type=checkout_type,
|
||||
is_squash_merge=is_squash_merge,
|
||||
rewrite_command=rewrite_command,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue