Skip to content

Commit

Permalink
setup.sh: fast git clone (commaai#33081)
Browse files Browse the repository at this point in the history
* setup.sh: filter clone

* no submodules
  • Loading branch information
adeebshihadeh authored Jul 26, 2024
1 parent 8827067 commit d128dbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d128dbe

Please sign in to comment.