mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
Add pre-rebase hook support
This commit is contained in:
parent
f2661bfc31
commit
f39154f69f
9 changed files with 114 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue