Skip to content

Commit

Permalink
remote: T7048: merge git environment with the os environment
Browse files Browse the repository at this point in the history
allows utilizing ssh-agent and other environment-variable-based behavior
customizations
  • Loading branch information
xeluior committed Jan 15, 2025
1 parent 99d0c7a commit 245b2b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/vyos/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ def upload(self, location: str):

# environment vars for our git commands
env = {
**os.environ,
"GIT_TERMINAL_PROMPT": "0",
"GIT_AUTHOR_NAME": name,
"GIT_AUTHOR_EMAIL": email,
Expand Down

0 comments on commit 245b2b6

Please sign in to comment.