Skip to content

Commit b42bec7

Browse files
committed
Auto merge of #7706 - matthiaskrgr:bump_git, r=Eh2406
bump git2 dependencies This required some manual code changes which dependabot could not perform.
2 parents 2f52929 + 8245e02 commit b42bec7

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ failure = "0.1.5"
3333
filetime = "0.2"
3434
flate2 = { version = "1.0.3", features = ["zlib"] }
3535
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"
3838
glob = "0.3.0"
3939
hex = "0.4"
4040
home = "0.5"
@@ -45,7 +45,7 @@ jobserver = "0.1.13"
4545
lazycell = "1.2.0"
4646
libc = "0.2"
4747
log = "0.4.6"
48-
libgit2-sys = "0.9.0"
48+
libgit2-sys = "0.10.0"
4949
memchr = "2.1.3"
5050
num_cpus = "1.0"
5151
opener = "0.4"

crates/cargo-test-support/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ cargo = { path = "../.." }
1212
cargo-test-macro = { path = "../cargo-test-macro" }
1313
filetime = "0.2"
1414
flate2 = "1.0"
15-
git2 = "0.10"
15+
git2 = "0.11"
1616
glob = "0.3"
1717
lazy_static = "1.0"
1818
remove_dir_all = "0.5"

crates/cargo-test-support/src/git.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

tests/testsuite/git.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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();

0 commit comments

Comments
 (0)