@@ -21,7 +21,7 @@ pub struct PrepareFetch {
21
21
/// The name of the remote, which defaults to `origin` if not overridden.
22
22
remote_name : Option < BString > ,
23
23
/// Additional config `values` that are applied in-memory before starting the fetch process.
24
- api_config_overrides : Vec < BString > ,
24
+ config_overrides : Vec < BString > ,
25
25
/// A function to configure a remote prior to fetching a pack.
26
26
configure_remote : Option < ConfigureRemoteFn > ,
27
27
/// A function to configure a connection before using it.
@@ -128,7 +128,7 @@ impl PrepareFetch {
128
128
#[ cfg( any( feature = "async-network-client" , feature = "blocking-network-client" ) ) ]
129
129
fetch_options : Default :: default ( ) ,
130
130
repo : Some ( repo) ,
131
- api_config_overrides : Vec :: new ( ) ,
131
+ config_overrides : Vec :: new ( ) ,
132
132
remote_name : None ,
133
133
configure_remote : None ,
134
134
#[ cfg( any( feature = "async-network-client" , feature = "blocking-network-client" ) ) ]
@@ -147,8 +147,6 @@ pub struct PrepareCheckout {
147
147
pub ( self ) repo : Option < crate :: Repository > ,
148
148
}
149
149
150
- mod access;
151
-
152
150
// This module encapsulates functionality that works with both feature toggles. Can be combined with `fetch`
153
151
// once async and clone are a thing.
154
152
#[ cfg( any( feature = "async-network-client" , feature = "blocking-network-client" ) ) ]
@@ -184,6 +182,8 @@ mod access_feat {
184
182
#[ cfg( any( feature = "async-network-client-async-std" , feature = "blocking-network-client" ) ) ]
185
183
pub mod fetch;
186
184
185
+ mod access;
186
+
187
187
///
188
188
#[ cfg( feature = "worktree-mutation" ) ]
189
189
pub mod checkout;
0 commit comments