summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorYanfeng Liu <yfliu2008@qq.com>2025-07-09 09:12:52 +0800
committerDamien George <damien@micropython.org>2025-07-20 22:59:06 +1000
commita8d50fb6536a6073e2fc6969cf8ac6a273337332 (patch)
tree65a3f6d979317820ed00de1ef3ac88dff99f7adf /py
parentddf2c3afb17c0ea3dd678d02d9c2f01bed5a3020 (diff)
py/mkrules.mk: Mute blobless errors.
This mutes usage error for blobless update from older `git` to reduce noise upon submodule updating. Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
Diffstat (limited to 'py')
-rw-r--r--py/mkrules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/mkrules.mk b/py/mkrules.mk
index 495d8d48b..3120066fd 100644
--- a/py/mkrules.mk
+++ b/py/mkrules.mk
@@ -268,7 +268,7 @@ submodules:
$(ECHO) "Updating submodules: $(GIT_SUBMODULES)"
ifneq ($(GIT_SUBMODULES),)
$(Q)cd $(TOP) && git submodule sync $(GIT_SUBMODULES)
- $(Q)cd $(TOP) && git submodule update --init --filter=blob:none $(GIT_SUBMODULES) || \
+ $(Q)cd $(TOP) && git submodule update --init --filter=blob:none $(GIT_SUBMODULES) 2>/dev/null || \
git submodule update --init $(GIT_SUBMODULES)
endif
.PHONY: submodules