mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 16:24:40 +04:00
Expose remote branch ref as an environment variable
This commit is contained in:
parent
bb50e00447
commit
cb5ed6276d
5 changed files with 14 additions and 2 deletions
|
|
@ -61,6 +61,7 @@ def run_opts(
|
|||
color=False,
|
||||
verbose=False,
|
||||
hook=None,
|
||||
remote_branch='',
|
||||
from_ref='',
|
||||
to_ref='',
|
||||
remote_name='',
|
||||
|
|
@ -78,6 +79,7 @@ def run_opts(
|
|||
color=color,
|
||||
verbose=verbose,
|
||||
hook=hook,
|
||||
remote_branch=remote_branch,
|
||||
from_ref=from_ref,
|
||||
to_ref=to_ref,
|
||||
remote_name=remote_name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue