mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-05-19 23:48:46 -05:00
Add post-checkout
This commit is contained in:
committed by
Anthony Sottile
parent
1c641b1c28
commit
18fa004254
@@ -72,6 +72,7 @@ def run_opts(
|
||||
hook_stage='commit',
|
||||
show_diff_on_failure=False,
|
||||
commit_msg_filename='',
|
||||
checkout_type='',
|
||||
):
|
||||
# These are mutually exclusive
|
||||
assert not (all_files and files)
|
||||
@@ -88,6 +89,7 @@ def run_opts(
|
||||
hook_stage=hook_stage,
|
||||
show_diff_on_failure=show_diff_on_failure,
|
||||
commit_msg_filename=commit_msg_filename,
|
||||
checkout_type=checkout_type,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user