Fix setting up git credential helper on Windows

This commit is contained in:
Mislav Marohnić 2022-11-02 15:53:26 +01:00
parent 38d465b1da
commit ba028b9044

View file

@ -180,7 +180,7 @@ func isGitMissing(err error) bool {
}
func shellQuote(s string) string {
if strings.ContainsAny(s, " $") {
if strings.ContainsAny(s, " $\\") {
return "'" + s + "'"
}
return s