Skip to content

Commit

Permalink
Bump gix-config from 0.37.0 to 0.38.0 (#76)
Browse files Browse the repository at this point in the history
* Bump gix-config from 0.37.0 to 0.38.0

Bumps [gix-config](https://github.com/Byron/gitoxide) from 0.37.0 to 0.38.0.
- [Release notes](https://github.com/Byron/gitoxide/releases)
- [Changelog](https://github.com/Byron/gitoxide/blob/main/CHANGELOG.md)
- [Commits](GitoxideLabs/gitoxide@gix-config-v0.37.0...gix-config-v0.38.0)

---
updated-dependencies:
- dependency-name: gix-config
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Adjust call to new API

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marvin Vogt <[email protected]>
  • Loading branch information
dependabot[bot] and SRv6d authored Aug 6, 2024
1 parent 9b4d1c3 commit f5d75a0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 17 deletions.
29 changes: 14 additions & 15 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async-trait = "0.1.80"
chrono = "0.4.37"
clap = { version = "4.5.13", features = ["derive", "env", "string"] }
figment = { version = "0.10.16", features = ["toml", "test"] }
gix-config = "0.37.0"
gix-config = "0.38.0"
reqwest = { version = "0.12.2", default-features = false, features = [
"json",
"rustls-tls-native-roots",
Expand Down
2 changes: 1 addition & 1 deletion src/cli/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ fn default_config_path() -> Resettable<OsStr> {
/// The path to the allowed signers file as configured within Git.
fn git_allowed_signers() -> Resettable<OsStr> {
if let Ok(file) = gix_config::File::from_globals() {
if let Some(path) = file.path("gpg", Some("ssh".into()), "allowedsignersfile") {
if let Some(path) = file.path("gpg.ssh.allowedsignersfile") {
if let Ok(interpolated) = path.interpolate(gix_config::path::interpolate::Context {
home_dir: env::var("HOME")
.ok()
Expand Down

0 comments on commit f5d75a0

Please sign in to comment.