Skip to content

Commit a694874

Browse files
sypharByron
authored andcommitted
feat!: upgrade gix to 0.71
1 parent 3f22952 commit a694874

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ http-reqwest = ["gix/blocking-http-transport-reqwest-rust-tls"]
3434

3535

3636
[dependencies]
37-
gix = { version = "0.67.0", default-features = false, features = ["blocking-network-client", "blob-diff", "revision"] }
37+
gix = { version = "0.71.0", default-features = false, features = ["blocking-network-client", "blob-diff", "revision"] }
3838
serde = { version = "1", features = ["std", "derive"] }
3939
hex = { version = "0.4.3", features = ["serde"] }
4040
smartstring = { version = "1.0.1", features = ["serde"] }

src/index/diff/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ pub enum Error {
6767
)]
6868
NoMatchingBranch {
6969
name: String,
70-
mappings: Vec<gix::remote::fetch::Mapping>,
70+
mappings: Vec<gix::remote::fetch::refmap::Mapping>,
7171
},
7272
#[error("Error when fetching GitHub fastpath.")]
7373
GithubFetch(#[from] reqwest::Error),
@@ -198,7 +198,7 @@ impl Index {
198198
.mappings
199199
.iter()
200200
.find_map(|m| match &m.remote {
201-
gix::remote::fetch::Source::Ref(r) => (r.unpack().0 == branch_name)
201+
gix::remote::fetch::refmap::Source::Ref(r) => (r.unpack().0 == branch_name)
202202
.then_some(m.local.as_ref())
203203
.flatten(),
204204
_ => None,

0 commit comments

Comments
 (0)