File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ failure = "0.1.5"
32
32
filetime = " 0.2"
33
33
flate2 = { version = " 1.0.3" , features = [' zlib' ] }
34
34
fs2 = " 0.4"
35
- git2 = " 0.8 .0"
36
- git2-curl = " 0.9 .0"
35
+ git2 = " 0.9 .0"
36
+ git2-curl = " 0.10 .0"
37
37
glob = " 0.3.0"
38
38
hex = " 0.3"
39
39
home = " 0.3"
@@ -43,7 +43,7 @@ jobserver = "0.1.13"
43
43
lazycell = " 1.2.0"
44
44
libc = " 0.2"
45
45
log = " 0.4.6"
46
- libgit2-sys = " 0.7.9 "
46
+ libgit2-sys = " 0.8.0 "
47
47
memchr = " 2.1.3"
48
48
num_cpus = " 1.0"
49
49
opener = " 0.4"
Original file line number Diff line number Diff line change @@ -91,7 +91,11 @@ fn http_auth_offered() {
91
91
let config = paths:: home ( ) . join ( ".gitconfig" ) ;
92
92
let mut config = git2:: Config :: open ( & config) . unwrap ( ) ;
93
93
config
94
- . set_str ( "credential.helper" , & script. display ( ) . to_string ( ) )
94
+ . set_str (
95
+ "credential.helper" ,
96
+ // This is a bash script so replace `\` with `/` for Windows
97
+ & script. display ( ) . to_string ( ) . replace ( "\\ " , "/" ) ,
98
+ )
95
99
. unwrap ( ) ;
96
100
97
101
let p = project ( )
You can’t perform that action at this time.
0 commit comments