From 245b2b6f09b93c314489227f405732f50ce44d2f Mon Sep 17 00:00:00 2001 From: Robert Gingras Date: Wed, 15 Jan 2025 09:54:23 -0500 Subject: [PATCH] remote: T7048: merge git environment with the os environment allows utilizing ssh-agent and other environment-variable-based behavior customizations --- python/vyos/remote.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/vyos/remote.py b/python/vyos/remote.py index d87fd24f61..c54fb60310 100644 --- a/python/vyos/remote.py +++ b/python/vyos/remote.py @@ -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,