diff options
author | Robert Gingras <rgingras@mieweb.com> | 2025-01-15 09:54:23 -0500 |
---|---|---|
committer | Robert Gingras <rgingras@mieweb.com> | 2025-01-15 09:54:23 -0500 |
commit | 245b2b6f09b93c314489227f405732f50ce44d2f (patch) | |
tree | ccad6ac988e9ecdef16beaa70e65b92515f1ff5d | |
parent | 99d0c7a804ea3cf7f843f0d4810e6772cf7ceeb8 (diff) | |
download | vyos-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.py | 1 |
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, |