update<Credential>: using manager instead of manager-core for credential.helper

This commit is contained in:
leo 2023-08-23 14:05:19 +08:00
parent 63a6ef256e
commit dfc452b2a6
4 changed files with 7 additions and 7 deletions

View file

@ -19,7 +19,7 @@ namespace SourceGit.Commands {
Envs.Add("GIT_SSH_COMMAND", $"ssh -i '{sshKey}'");
Args = "";
} else {
Args = "-c credential.helper=manager-core ";
Args = "-c credential.helper=manager ";
}
Args += "clone --progress --verbose --recurse-submodules ";

View file

@ -19,7 +19,7 @@ namespace SourceGit.Commands {
Envs.Add("GIT_SSH_COMMAND", $"ssh -i '{sshKey}'");
Args = "";
} else {
Args = "-c credential.helper=manager-core ";
Args = "-c credential.helper=manager ";
}
Args += "fetch --progress --verbose ";
@ -38,7 +38,7 @@ namespace SourceGit.Commands {
Envs.Add("GIT_SSH_COMMAND", $"ssh -i '{sshKey}'");
Args = "";
} else {
Args = "-c credential.helper=manager-core ";
Args = "-c credential.helper=manager ";
}
Args += $"fetch --progress --verbose {remote} {remoteBranch}:{localBranch}";

View file

@ -20,7 +20,7 @@ namespace SourceGit.Commands {
Envs.Add("GIT_SSH_COMMAND", $"ssh -i '{sshKey}'");
Args = "";
} else {
Args = "-c credential.helper=manager-core ";
Args = "-c credential.helper=manager ";
}
Args += "pull --verbose --progress --tags ";

View file

@ -17,7 +17,7 @@ namespace SourceGit.Commands {
Envs.Add("GIT_SSH_COMMAND", $"ssh -i '{sshKey}'");
Args = "";
} else {
Args = "-c credential.helper=manager-core ";
Args = "-c credential.helper=manager ";
}
Args += "push --progress --verbose ";
@ -37,7 +37,7 @@ namespace SourceGit.Commands {
Envs.Add("GIT_SSH_COMMAND", $"ssh -i '{sshKey}'");
Args = "";
} else {
Args = "-c credential.helper=manager-core ";
Args = "-c credential.helper=manager ";
}
Args += $"push {remote} --delete {branch}";
@ -51,7 +51,7 @@ namespace SourceGit.Commands {
Envs.Add("GIT_SSH_COMMAND", $"ssh -i '{sshKey}'");
Args = "";
} else {
Args = "-c credential.helper=manager-core ";
Args = "-c credential.helper=manager ";
}
Args += "push ";