Bump gix from 0.66.0 to 0.67.0 and adapt to API changes (#2422)

* Bump gix from 0.66.0 to 0.67.0

Bumps [gix](https://github.com/GitoxideLabs/gitoxide) from 0.66.0 to 0.67.0.
- [Release notes](https://github.com/GitoxideLabs/gitoxide/releases)
- [Changelog](https://github.com/GitoxideLabs/gitoxide/blob/main/CHANGELOG.md)
- [Commits](https://github.com/GitoxideLabs/gitoxide/compare/gix-v0.66.0...gix-v0.67.0)

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

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

* Adapt to API changes

* Update backtrace

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
Christoph Rüßler
2024-11-08 09:53:43 +01:00
committed by GitHub
co-authored by dependabot[bot]
parent 42f476baaf
commit b49bacfac1
3 changed files with 99 additions and 89 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ easy-cast = "0.5"
fuzzy-matcher = "0.3"
git2 = "0.19"
git2-hooks = { path = "../git2-hooks", version = ">=0.4" }
gix = { version = "0.66", default-features = false, features = [
gix = { version = "0.67", default-features = false, features = [
"max-performance",
"revision",
] }
+2 -2
View File
@@ -2,7 +2,7 @@
use super::{CommitId, SharedCommitFilterFn};
use crate::error::Result;
use git2::{Commit, Oid, Repository};
use gix::{revision::Walk, traverse::commit::simple::Sorting};
use gix::revision::Walk;
use std::{
cmp::Ordering,
collections::{BinaryHeap, HashSet},
@@ -140,7 +140,7 @@ impl<'a> LogWalkerWithoutFilter<'a> {
let platform = repo
.rev_walk(tips)
.sorting(Sorting::ByCommitTimeNewestFirst)
.sorting(gix::revision::walk::Sorting::ByCommitTime(gix::traverse::commit::simple::CommitTimeOrder::NewestFirst))
.use_commit_graph(false);
let walk = platform.all()?;