File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 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"
3232filetime = " 0.2"
3333flate2 = { version = " 1.0.3" , features = [' zlib' ] }
3434fs2 = " 0.4"
35- git2 = " 0.8 .0"
36- git2-curl = " 0.9 .0"
35+ git2 = " 0.9 .0"
36+ git2-curl = " 0.10 .0"
3737glob = " 0.3.0"
3838hex = " 0.3"
3939home = " 0.3"
@@ -43,7 +43,7 @@ jobserver = "0.1.13"
4343lazycell = " 1.2.0"
4444libc = " 0.2"
4545log = " 0.4.6"
46- libgit2-sys = " 0.7.9 "
46+ libgit2-sys = " 0.8.0 "
4747memchr = " 2.1.3"
4848num_cpus = " 1.0"
4949opener = " 0.4"
Original file line number Diff line number Diff line change @@ -91,7 +91,11 @@ fn http_auth_offered() {
9191 let config = paths:: home ( ) . join ( ".gitconfig" ) ;
9292 let mut config = git2:: Config :: open ( & config) . unwrap ( ) ;
9393 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+ )
9599 . unwrap ( ) ;
96100
97101 let p = project ( )
You can’t perform that action at this time.
0 commit comments