Skip to content

Commit 6db2997

Browse files
committed
py/mkrules.mk: Move comment about partial clones outside make rule.
Otherwise the comment is printed each time the rule is run. Follow up to fdd606d. Signed-off-by: Damien George <[email protected]>
1 parent 84e0aca commit 6db2997

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

py/mkrules.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,13 +248,13 @@ clean-prog:
248248
.PHONY: clean-prog
249249
endif
250250

251+
# If available, do blobless partial clones of submodules to save time and space.
252+
# A blobless partial clone lazily fetches data as needed, but has all the metadata available (tags, etc.).
253+
# Fallback to standard submodule update if blobless isn't available (earlier than 2.36.0)
251254
submodules:
252255
$(ECHO) "Updating submodules: $(GIT_SUBMODULES)"
253256
ifneq ($(GIT_SUBMODULES),)
254257
$(Q)cd $(TOP) && git submodule sync $(GIT_SUBMODULES)
255-
# If available, do blobless partial clones of submodules to save time and space.
256-
# A blobless partial clone lazily fetches data as needed, but has all the metadata available (tags, etc.).
257-
# Fallback to standard submodule update if blobless isn't available (earlier than 2.36.0)
258258
$(Q)cd $(TOP) && git submodule update --init --filter=blob:none $(GIT_SUBMODULES) || \
259259
git submodule update --init $(GIT_SUBMODULES)
260260
endif

0 commit comments

Comments
 (0)