Expose local branch ref as an environment variable

This commit is contained in:
Florent Clarret 2021-06-19 18:09:32 +02:00
parent 8037b45cb1
commit 584fd585ec
5 changed files with 17 additions and 2 deletions

View file

@ -487,6 +487,7 @@ def test_all_push_options_ok(cap_out, store, repo_with_passing_hook):
args = run_opts(
from_ref='master', to_ref='master',
remote_branch='master',
local_branch='master',
remote_name='origin', remote_url='https://example.com/repo',
)
ret, printed = _do_run(cap_out, store, repo_with_passing_hook, args)