mirror of
https://github.com/esphome/esphome.git
synced 2026-09-17 18:18:43 +00:00
b3a57d139575a46ed1ab47f8d0e32b1b7d423724
Fixes esphome/esphome#11550 When clone_or_update is called with a ref or submodules, the initial clone uses --depth=1 but the subsequent git fetch and git submodule update commands run deep, pulling the full history on every refresh. This causes excess network traffic and disk usage for external_components, packages, and dashboard imports. Add --depth=1 to all four call sites (initial fetch, initial submodule init, refresh fetch, refresh submodule update). Shallow fetches still advance the local clone to the current remote tip when it moves, so the refresh path keeps working as before.
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
598 MiB
Languages
C++
55.7%
Python
43.7%
C
0.3%
JavaScript
0.2%
