Skip to content

Commit

Permalink
Adapt to API changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cruessler committed Nov 5, 2024
1 parent c07ebd0 commit 0562230
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions asyncgit/src/sync/logwalker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down Expand Up @@ -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()?;
Expand Down

0 comments on commit 0562230

Please sign in to comment.