From 03113a69d138e2592c5b7a28407cfc3598ffe2ba Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Wed, 30 Apr 2025 16:11:11 -0600 Subject: [PATCH] speeding --- reinstall-esp-idf.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reinstall-esp-idf.sh b/reinstall-esp-idf.sh index 0494106..697d60b 100644 --- a/reinstall-esp-idf.sh +++ b/reinstall-esp-idf.sh @@ -9,7 +9,7 @@ else fi rcFile=$HOME/.zshrc # shell rc file -# gitJobs=5 # number of jobs to download from github with +gitJobs=3 # number of jobs to download from github with gitJobs=default # default for no --jobs x arg, integar for a number of jobs rebootMins=3 # minutes of warning before reboot @@ -38,9 +38,9 @@ arg=$1 # just rename the argument var for clarity with the functions # commands if [ "$gitJobs" == "default" ]; then - gitCloneCmd="git clone --recursive --branch $gitBranch https://github.com/espressif/esp-idf $idfDir" + gitCloneCmd="git clone --single-branch --recursive --branch $gitBranch https://github.com/espressif/esp-idf $idfDir" else - gitCloneCmd="git clone --recursive --jobs $gitJobs --branch $gitBranch https://github.com/espressif/esp-idf $idfDir" + gitCloneCmd="git clone --single-branch --recursive --jobs $gitJobs --branch $gitBranch https://github.com/espressif/esp-idf $idfDir" fi # gitCloneCmd="git clone --recursive --single-branch --jobs $gitJobs --branch $gitBranch https://github.com/espressif/esp-idf $idfDir"