Skip to content

Commit

Permalink
Bump gix => v0.64; tame-index => v0.13 (#1230)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri authored Jul 30, 2024
1 parent 58f078e commit f44a2fd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 18 deletions.
26 changes: 12 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ cvss = { version = "2.0.0", path = "./cvss" }
display-error-chain = "0.2.0"
fs-err = "2.11"
# NOTE: Keep in sync with `gix` used by `tame-index`.
gix = { version = "0.63", default-features = false }
gix = { version = "0.64", default-features = false }
gumdrop = "0.8"
home = "0.5"
once_cell = "1.15.0"
Expand All @@ -38,7 +38,7 @@ rustsec = { version = "=0.30.0-pre", path = "./rustsec" }
semver = "1.0.23"
serde = "1"
serde_json = "1"
tame-index = { version = "0.12", default-features = false }
tame-index = { version = "0.13", default-features = false }
tempfile = "3"
termcolor = "1"
thiserror = "1"
Expand Down
4 changes: 2 additions & 2 deletions rustsec/src/repository/git/repository.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,14 +259,14 @@ impl Repository {
fn perform_fetch(repo: &mut gix::Repository) -> Result<(), Error> {
let mut config = repo.config_snapshot_mut();
config
.set_raw_value("committer", None, "name", "rustsec")
.set_raw_value_by("committer", None, "name", "rustsec")
.map_err(|err| {
format_err!(ErrorKind::Repo, "failed to set `committer.name`: {}", err)
})?;
// Note we _have_ to set the email as well, but luckily gix does not actually
// validate if it's a proper email or not :)
config
.set_raw_value("committer", None, "email", "")
.set_raw_value_by("committer", None, "email", "")
.map_err(|err| {
format_err!(ErrorKind::Repo, "failed to set `committer.email`: {}", err)
})?;
Expand Down

0 comments on commit f44a2fd

Please sign in to comment.