summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Gingras <rgingras@mieweb.com>2025-01-15 09:54:23 -0500
committerRobert Gingras <rgingras@mieweb.com>2025-01-15 09:54:23 -0500
commit245b2b6f09b93c314489227f405732f50ce44d2f (patch)
treeccad6ac988e9ecdef16beaa70e65b92515f1ff5d
parent99d0c7a804ea3cf7f843f0d4810e6772cf7ceeb8 (diff)
downloadvyos-1x-245b2b6f09b93c314489227f405732f50ce44d2f.tar.gz
vyos-1x-245b2b6f09b93c314489227f405732f50ce44d2f.zip
remote: T7048: merge git environment with the os environment
allows utilizing ssh-agent and other environment-variable-based behavior customizations
-rw-r--r--python/vyos/remote.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/vyos/remote.py b/python/vyos/remote.py
index d87fd24f6..c54fb6031 100644
--- a/python/vyos/remote.py
+++ b/python/vyos/remote.py
@@ -363,6 +363,7 @@ class GitC:
# environment vars for our git commands
env = {
+ **os.environ,
"GIT_TERMINAL_PROMPT": "0",
"GIT_AUTHOR_NAME": name,
"GIT_AUTHOR_EMAIL": email,