Skip to content

Commit a61b2ab

Browse files
committed
adapt to changes in gix-protocol: Outcome -> Handshake
1 parent 541a7a6 commit a61b2ab

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ pub struct Outcome {
7676
/// The result of the initial mapping of references, the prerequisite for any fetch.
7777
pub ref_map: RefMap,
7878
/// The outcome of the handshake with the server.
79-
pub handshake: gix_protocol::handshake::Outcome,
79+
pub handshake: gix_protocol::Handshake,
8080
/// The status of the operation to indicate what happened.
8181
pub status: Status,
8282
}

gix/src/remote/connection/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ where
2020
pub(crate) authenticate: Option<AuthenticateFn<'a>>,
2121
pub(crate) transport_options: Option<Box<dyn std::any::Any>>,
2222
pub(crate) transport: gix_protocol::SendFlushOnDrop<T>,
23-
pub(crate) handshake: Option<gix_protocol::handshake::Outcome>,
23+
pub(crate) handshake: Option<gix_protocol::Handshake>,
2424
pub(crate) trace: bool,
2525
}
2626

gix/src/remote/connection/ref_map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ where
9292
mut self,
9393
progress: impl Progress,
9494
options: Options,
95-
) -> Result<(fetch::RefMap, gix_protocol::handshake::Outcome), Error> {
95+
) -> Result<(fetch::RefMap, gix_protocol::Handshake), Error> {
9696
let refmap = self.ref_map_by_ref(progress, options).await?;
9797
let handshake = self
9898
.handshake

0 commit comments

Comments
 (0)