From 5d875b531bda47cd527b454444f2947c43903b48 Mon Sep 17 00:00:00 2001 From: Teng Zhang Date: Mon, 2 Dec 2024 22:46:21 -0800 Subject: [PATCH] update git --- aptos-move/aptos-e2e-comparison-testing/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aptos-move/aptos-e2e-comparison-testing/src/lib.rs b/aptos-move/aptos-e2e-comparison-testing/src/lib.rs index 55f1c3539d2911..11cc2978d955ee 100644 --- a/aptos-move/aptos-e2e-comparison-testing/src/lib.rs +++ b/aptos-move/aptos-e2e-comparison-testing/src/lib.rs @@ -296,7 +296,7 @@ async fn download_aptos_packages(path: &Path) -> anyhow::Result<()> { let git_url = "https://github.com/aptos-labs/aptos-core"; let tmp_dir = TempDir::new()?; Command::new("git") - .args(["clone", git_url, tmp_dir.path().to_str().unwrap()]) + .args(["clone", "--branch", "igor/use_native_vector_move_range", git_url, tmp_dir.path().to_str().unwrap(), "--depth", "1"]) .output() .map_err(|_| anyhow::anyhow!("Failed to clone Git repository"))?; let source_framework_path = PathBuf::from(tmp_dir.path()).join("aptos-move/framework");