Add pre-rebase hook support

This commit is contained in:
Marcelo Galigniana 2023-01-27 16:18:06 -03:00 committed by Anthony Sottile
parent f2661bfc31
commit f39154f69f
9 changed files with 114 additions and 0 deletions

View file

@ -44,6 +44,8 @@ def run_opts(
local_branch='',
from_ref='',
to_ref='',
pre_rebase_upstream='',
pre_rebase_branch='',
remote_name='',
remote_url='',
hook_stage='pre-commit',
@ -67,6 +69,8 @@ def run_opts(
local_branch=local_branch,
from_ref=from_ref,
to_ref=to_ref,
pre_rebase_upstream=pre_rebase_upstream,
pre_rebase_branch=pre_rebase_branch,
remote_name=remote_name,
remote_url=remote_url,
hook_stage=hook_stage,