Skip to content

Commit

Permalink
update gix to 0.52.0 (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
CraZySacX authored Aug 24, 2023
1 parent da7a320 commit affef76
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions vergen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ si = ["sysinfo"]
[dependencies]
anyhow = "1.0.72"
git2-rs = { version = "0.17.2", package = "git2", optional = true, default-features = false }
gix = { version = "0.51.0", optional = true, default-features = false }
gix = { version = "0.52.0", optional = true, default-features = false }
rustc_version = { version = "0.4.0", optional = true }
sysinfo = { version = "0.29.7", optional = true, default-features = false }
time = { version = "0.3.23", features = [
Expand All @@ -54,7 +54,7 @@ time = { version = "0.3.23", features = [
rustversion = "1.0.14"

[dev-dependencies]
gix = { version = "0.51.0", default-features = false, features = [
gix = { version = "0.52.0", default-features = false, features = [
"blocking-network-client",
] }
lazy_static = "1.4.0"
Expand Down
2 changes: 1 addition & 1 deletion vergen/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ pub(crate) mod repo {

if !clone_path.exists() {
fs::create_dir_all(&clone_path)?;
let _res = git::interrupt::init_handler(|| {})?;
let _res = git::interrupt::init_handler(0, || {})?;
let url =
git::url::parse(git::path::os_str_into_bstr(bare_repo_path.as_os_str())?)?;
let opts = open::Options::isolated()
Expand Down
2 changes: 1 addition & 1 deletion vergen/tests/git_output.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ cargo:rerun-if-env-changed=SOURCE_DATE_EPOCH
fs::create_dir_all(&clone_path)?;

// Clone into the directory
let _res = git::interrupt::init_handler(|| {})?;
let _res = git::interrupt::init_handler(0, || {})?;
let url =
git::url::parse(git::path::os_str_into_bstr(bare_repo_path.as_os_str())?)?;
let opts = open::Options::isolated()
Expand Down

0 comments on commit affef76

Please sign in to comment.