File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
crates/cargo-test-support Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ failure = "0.1.5"
3333filetime = " 0.2"
3434flate2 = { version = " 1.0.3" , features = [" zlib" ] }
3535fs2 = " 0.4"
36- git2 = " 0.10 .0"
37- git2-curl = " 0.11 .0"
36+ git2 = " 0.11 .0"
37+ git2-curl = " 0.12 .0"
3838glob = " 0.3.0"
3939hex = " 0.4"
4040home = " 0.5"
@@ -45,7 +45,7 @@ jobserver = "0.1.13"
4545lazycell = " 1.2.0"
4646libc = " 0.2"
4747log = " 0.4.6"
48- libgit2-sys = " 0.9 .0"
48+ libgit2-sys = " 0.10 .0"
4949memchr = " 2.1.3"
5050num_cpus = " 1.0"
5151opener = " 0.4"
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ cargo = { path = "../.." }
1212cargo-test-macro = { path = " ../cargo-test-macro" }
1313filetime = " 0.2"
1414flate2 = " 1.0"
15- git2 = " 0.10 "
15+ git2 = " 0.11 "
1616glob = " 0.3"
1717lazy_static = " 1.0"
1818remove_dir_all = " 0.5"
Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ pub fn add_submodule<'a>(
197197 default_repo_cfg ( & subrepo) ;
198198 t ! ( subrepo. remote_add_fetch( "origin" , "refs/heads/*:refs/heads/*" ) ) ;
199199 let mut origin = t ! ( subrepo. find_remote( "origin" ) ) ;
200- t ! ( origin. fetch( & [ ] , None , None ) ) ;
200+ t ! ( origin. fetch( & Vec :: < String > :: new ( ) , None , None ) ) ;
201201 t ! ( subrepo. checkout_head( None ) ) ;
202202 t ! ( s. add_finalize( ) ) ;
203203 s
Original file line number Diff line number Diff line change @@ -1201,7 +1201,7 @@ fn dep_with_changed_submodule() {
12011201 . remote_set_url ( "origin" , & git_project3. url ( ) . to_string ( ) )
12021202 . unwrap ( ) ;
12031203 let mut origin = subrepo. find_remote ( "origin" ) . unwrap ( ) ;
1204- origin. fetch ( & [ ] , None , None ) . unwrap ( ) ;
1204+ origin. fetch ( & Vec :: < String > :: new ( ) , None , None ) . unwrap ( ) ;
12051205 let id = subrepo. refname_to_id ( "refs/remotes/origin/master" ) . unwrap ( ) ;
12061206 let obj = subrepo. find_object ( id, None ) . unwrap ( ) ;
12071207 subrepo. reset ( & obj, git2:: ResetType :: Hard , None ) . unwrap ( ) ;
You can’t perform that action at this time.
0 commit comments