mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 20:24:59 +00:00
optimize<Command>: each process has its own envs
This commit is contained in:
parent
75a46ceb74
commit
48020861ee
5 changed files with 11 additions and 4 deletions
|
@ -14,7 +14,7 @@ namespace SourceGit.Commands {
|
|||
handler = outputHandler;
|
||||
|
||||
if (!string.IsNullOrEmpty(sshKey)) {
|
||||
Environment.SetEnvironmentVariable("GIT_SSH_COMMAND", $"ssh -i '{sshKey}'");
|
||||
Envs.Add("GIT_SSH_COMMAND", $"ssh -i '{sshKey}'");
|
||||
Args = "";
|
||||
} else {
|
||||
Args = "-c credential.helper=manager ";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue