We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0eb460c commit 86777b3Copy full SHA for 86777b3
1 file changed
src/api/builder.rs
@@ -1,11 +1,7 @@
1
use std::{env, error::Error, path::PathBuf, sync::Arc};
2
3
-use crate::{
4
- config::ProtofetchConfig,
5
- fetch::ParallelConfig,
6
- git::{backend::GitBackendType, cache::ProtofetchGitCache},
7
- Protofetch,
8
-};
+use crate::{config::ProtofetchConfig,
+ fetch::ParallelConfig, git::cache::ProtofetchGitCache, Protofetch};
9
10
#[derive(Default)]
11
pub struct ProtofetchBuilder {
@@ -99,7 +95,8 @@ impl ProtofetchBuilder {
99
95
let cache = ProtofetchGitCache::new(
100
96
cache_directory,
101
97
config.default_protocol,
102
- GitBackendType::default(),
98
+ config.git_backend,
+ config.git_executable,
103
)?;
104
105
// Build the effective ParallelConfig: defaults < config < explicit builder calls.
0 commit comments