Skip to content

Commit b447f47

Browse files
committed
adapt to changes in gix-traverse
1 parent e4e8ddc commit b447f47

File tree

2 files changed

+2
-4
lines changed
  • gix

2 files changed

+2
-4
lines changed

gix/src/remote/connection/fetch/update_refs/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ pub(crate) fn update(
133133
.ancestors(|id, buf| repo.objects.find_commit_iter(id, buf))
134134
.sorting(
135135
gix_traverse::commit::Sorting::ByCommitTimeNewestFirstCutoffOlderThan {
136-
time_in_seconds_since_epoch: local_commit_time
136+
seconds: local_commit_time
137137
},
138138
)
139139
.map_err(|_| ())

gix/tests/id/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,7 @@ mod ancestors {
123123
for sorting in [
124124
commit::Sorting::BreadthFirst,
125125
commit::Sorting::ByCommitTimeNewestFirst,
126-
commit::Sorting::ByCommitTimeNewestFirstCutoffOlderThan {
127-
time_in_seconds_since_epoch: 0,
128-
},
126+
commit::Sorting::ByCommitTimeNewestFirstCutoffOlderThan { seconds: 0 },
129127
] {
130128
let commits_graph_order = head
131129
.ancestors()

0 commit comments

Comments
 (0)