Skip to content

Commit

Permalink
adapt to changes in gix-traverse
Browse files Browse the repository at this point in the history
  • Loading branch information
nrdxp authored and Byron committed Sep 26, 2024
1 parent d15468f commit 3e45be0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ fn run(args: Args) -> anyhow::Result<()> {
Sorting::BreadthFirst
} else {
// else if args.newest_first {
Sorting::ByCommitTimeNewestFirst
Sorting::ByCommitTime(Default::default())
};

let mut min_parents = args.min_parents.unwrap_or(0);
Expand Down
2 changes: 1 addition & 1 deletion gitoxide-core/src/repository/commitgraph/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub(crate) mod function {
.context("Need committish as starting point")?
.id()
.ancestors()
.sorting(Sorting::ByCommitTimeNewestFirst)
.sorting(Sorting::ByCommitTime(Default::default()))
.all()?;
for commit in commits {
let commit = commit?;
Expand Down
2 changes: 1 addition & 1 deletion gitoxide-core/src/repository/revision/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub(crate) mod function {
.context("Need committish as starting point")?
.id()
.ancestors()
.sorting(Sorting::ByCommitTimeNewestFirst)
.sorting(Sorting::ByCommitTime(Default::default()))
.all()?;

let mut vg = match text {
Expand Down

0 comments on commit 3e45be0

Please sign in to comment.