Skip to content

Commit 219ca40

Browse files
authored
Merge pull request #328 from espressif/feat/idf_clone_depth_one
feat: Set `--depth 1` option when clonning esp-idf
2 parents d35b76d + 881aa02 commit 219ca40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Build-Installer.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ function PrepareOfflineBranches {
313313
git -C "$BundleDir" fetch
314314
} else {
315315
"Performing full clone."
316-
git clone --branch "$OfflineBranch" -q --single-branch --shallow-submodules --recursive https://github.com/espressif/esp-idf.git "$BundleDir"
316+
git clone --branch "$OfflineBranch" --depth 1 -q --single-branch --shallow-submodules --recursive https://github.com/espressif/esp-idf.git "$BundleDir"
317317

318318
# Remove hidden attribute from .git. Inno Setup is not able to read it.
319319
attrib "$BundleDir\.git" -s -h

0 commit comments

Comments
 (0)