mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Expose local branch ref as an environment variable
This commit is contained in:
parent
8037b45cb1
commit
584fd585ec
5 changed files with 17 additions and 2 deletions
|
|
@ -62,6 +62,7 @@ def run_opts(
|
|||
verbose=False,
|
||||
hook=None,
|
||||
remote_branch='',
|
||||
local_branch='',
|
||||
from_ref='',
|
||||
to_ref='',
|
||||
remote_name='',
|
||||
|
|
@ -81,6 +82,7 @@ def run_opts(
|
|||
verbose=verbose,
|
||||
hook=hook,
|
||||
remote_branch=remote_branch,
|
||||
local_branch=local_branch,
|
||||
from_ref=from_ref,
|
||||
to_ref=to_ref,
|
||||
remote_name=remote_name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue