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>
This commit is contained in:
parent
ddf2c3afb1
commit
a8d50fb653
|
@ -268,7 +268,7 @@ submodules:
|
||||||
$(ECHO) "Updating submodules: $(GIT_SUBMODULES)"
|
$(ECHO) "Updating submodules: $(GIT_SUBMODULES)"
|
||||||
ifneq ($(GIT_SUBMODULES),)
|
ifneq ($(GIT_SUBMODULES),)
|
||||||
$(Q)cd $(TOP) && git submodule sync $(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)
|
git submodule update --init $(GIT_SUBMODULES)
|
||||||
endif
|
endif
|
||||||
.PHONY: submodules
|
.PHONY: submodules
|
||||||
|
|
Loading…
Reference in New Issue