Skip to content

Commit b785e81

Browse files
committed
adapt to changes in gix-protocol
1 parent 9f8fa22 commit b785e81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gix/src/remote/connection/fetch/receive_pack.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,14 +348,14 @@ fn add_shallow_args(
348348
args.deepen_relative();
349349
}
350350
Shallow::Since { cutoff } => {
351-
args.deepen_since(cutoff.seconds as usize);
351+
args.deepen_since(cutoff.seconds);
352352
}
353353
Shallow::Exclude {
354354
remote_refs,
355355
since_cutoff,
356356
} => {
357357
if let Some(cutoff) = since_cutoff {
358-
args.deepen_since(cutoff.seconds as usize);
358+
args.deepen_since(cutoff.seconds);
359359
}
360360
for ref_ in remote_refs {
361361
args.deepen_not(ref_.as_ref().as_bstr());

0 commit comments

Comments
 (0)