summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2025-01-18 21:35:04 +0100
committerGitHub <noreply@github.com>2025-01-18 21:35:04 +0100
commit4d3e976271e30d70c8b2660d869a220de98d8c59 (patch)
treefc0452e22fe95ff525a45d54cff4ef320a871f04
parenta931ab339d42a7f8f14aae18ad7de1c8472590b4 (diff)
parent245b2b6f09b93c314489227f405732f50ce44d2f (diff)
downloadvyos-1x-4d3e976271e30d70c8b2660d869a220de98d8c59.tar.gz
vyos-1x-4d3e976271e30d70c8b2660d869a220de98d8c59.zip
Merge pull request #4303 from xeluior/ssh-agent
remote: T7048: merge git environment with the os environment
-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,