From d128dbe27f9a4b87f6f37d68b22e0a385cf29d70 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Thu, 25 Jul 2024 18:59:29 -0700 Subject: [PATCH] setup.sh: fast git clone (#33081) * setup.sh: filter clone * no submodules --- tools/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/setup.sh b/tools/setup.sh index 2091886103..9b1ee9c0c1 100755 --- a/tools/setup.sh +++ b/tools/setup.sh @@ -31,7 +31,7 @@ function check_git() { function git_clone() { echo "Cloning openpilot..." - if $(git clone --depth=1 https://github.com/commaai/openpilot.git "$OPENPILOT_ROOT"); then + if $(git clone --filter=blob:none https://github.com/commaai/openpilot.git "$OPENPILOT_ROOT"); then if [[ -f $OPENPILOT_ROOT/launch_openpilot.sh ]]; then echo -e " ↳ [${GREEN}✔${NC}] Successfully cloned openpilot.\n" return 0