Add: post-rewrite hook support

This commit is contained in:
Jordan Speicher 2021-09-01 14:50:59 -05:00
parent 3bab1514c3
commit 4cd8b364dd
9 changed files with 70 additions and 1 deletions

View file

@ -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,
)