File tree 4 files changed +6
-6
lines changed
crates/cargo-test-support 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"
33
33
filetime = " 0.2"
34
34
flate2 = { version = " 1.0.3" , features = [" zlib" ] }
35
35
fs2 = " 0.4"
36
- git2 = " 0.10 .0"
37
- git2-curl = " 0.11 .0"
36
+ git2 = " 0.11 .0"
37
+ git2-curl = " 0.12 .0"
38
38
glob = " 0.3.0"
39
39
hex = " 0.4"
40
40
home = " 0.5"
@@ -45,7 +45,7 @@ jobserver = "0.1.13"
45
45
lazycell = " 1.2.0"
46
46
libc = " 0.2"
47
47
log = " 0.4.6"
48
- libgit2-sys = " 0.9 .0"
48
+ libgit2-sys = " 0.10 .0"
49
49
memchr = " 2.1.3"
50
50
num_cpus = " 1.0"
51
51
opener = " 0.4"
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ cargo = { path = "../.." }
12
12
cargo-test-macro = { path = " ../cargo-test-macro" }
13
13
filetime = " 0.2"
14
14
flate2 = " 1.0"
15
- git2 = " 0.10 "
15
+ git2 = " 0.11 "
16
16
glob = " 0.3"
17
17
lazy_static = " 1.0"
18
18
remove_dir_all = " 0.5"
Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ pub fn add_submodule<'a>(
197
197
default_repo_cfg ( & subrepo) ;
198
198
t ! ( subrepo. remote_add_fetch( "origin" , "refs/heads/*:refs/heads/*" ) ) ;
199
199
let mut origin = t ! ( subrepo. find_remote( "origin" ) ) ;
200
- t ! ( origin. fetch( & [ ] , None , None ) ) ;
200
+ t ! ( origin. fetch( & Vec :: < String > :: new ( ) , None , None ) ) ;
201
201
t ! ( subrepo. checkout_head( None ) ) ;
202
202
t ! ( s. add_finalize( ) ) ;
203
203
s
Original file line number Diff line number Diff line change @@ -1201,7 +1201,7 @@ fn dep_with_changed_submodule() {
1201
1201
. remote_set_url ( "origin" , & git_project3. url ( ) . to_string ( ) )
1202
1202
. unwrap ( ) ;
1203
1203
let mut origin = subrepo. find_remote ( "origin" ) . unwrap ( ) ;
1204
- origin. fetch ( & [ ] , None , None ) . unwrap ( ) ;
1204
+ origin. fetch ( & Vec :: < String > :: new ( ) , None , None ) . unwrap ( ) ;
1205
1205
let id = subrepo. refname_to_id ( "refs/remotes/origin/master" ) . unwrap ( ) ;
1206
1206
let obj = subrepo. find_object ( id, None ) . unwrap ( ) ;
1207
1207
subrepo. reset ( & obj, git2:: ResetType :: Hard , None ) . unwrap ( ) ;
You can’t perform that action at this time.
0 commit comments