From c32c211051f5c46d9f73e295bede52ed97af7f1a Mon Sep 17 00:00:00 2001 From: Yingrjimsch Date: Wed, 11 Sep 2024 23:47:05 +0200 Subject: [PATCH] chore: switched clone arg name --- src/cli/clone.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cli/clone.rs b/src/cli/clone.rs index 8c1a15d..5c80b9e 100644 --- a/src/cli/clone.rs +++ b/src/cli/clone.rs @@ -67,7 +67,7 @@ pub async fn clone( } else { let status: bool = run_cmd_s( Command::new("git") - .args(&create_pull_request_args( + .args(&create_clone_args( &branch, &clone_url, &active_profile.targetbasepath, @@ -168,7 +168,7 @@ fn get_clone_url<'a>(pulloption: &'a str, repo: &'a Box) -> &'a str { return clone_url; } -fn create_pull_request_args( +fn create_clone_args( branch: &str, clone_url: &str, target_basepath: &str, @@ -176,6 +176,7 @@ fn create_pull_request_args( ) -> Vec { let mut args: Vec = vec![ "clone".to_string(), + "--filter=blob:none".to_string(), clone_url.to_string(), format!("{}/{}", target_basepath, directory), ];