We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1065102 commit c35c900Copy full SHA for c35c900
tests/testsuite/build_auth.rs
@@ -91,7 +91,11 @@ fn http_auth_offered() {
91
let config = paths::home().join(".gitconfig");
92
let mut config = git2::Config::open(&config).unwrap();
93
config
94
- .set_str("credential.helper", &script.display().to_string())
+ .set_str(
95
+ "credential.helper",
96
+ // This is a bash script so replace `\` with `/` for Windows
97
+ &script.display().to_string().replace("\\", "/"),
98
+ )
99
.unwrap();
100
101
let p = project()
0 commit comments