[espidf] Filter noisy 'git rev-parse' errors when .git is stripped (#16521)

This commit is contained in:
Jonathan Swoboda
2026-05-21 11:35:51 -04:00
committed by Jesse Hills
parent 79539cb85d
commit cc88456ce7

View File

@@ -66,6 +66,12 @@ FILTER_IDF_LINES: list[str] = [
# Drop the blank line rich emits after the note so the build log
# doesn't end with an orphan gap before ESPHome's own status lines.
r"\s*$",
# ESP-IDF shells out to ``git rev-parse`` to embed a commit hash;
# esphome-libs strips ``.git`` from the tarball so those probes fail
# noisily without affecting the build.
r"-- git rev-parse returned ",
r"fatal: not a git repository",
r"Stopping at filesystem boundary",
]