summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/fetch.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/mk/fetch.mk b/mk/fetch.mk
index f7a6d13d1..a7fa86aff 100644
--- a/mk/fetch.mk
+++ b/mk/fetch.mk
@@ -77,8 +77,7 @@ $(1):
;; \
esac ;\
else \
- echo "Using git head"; \
- git clone $(GITOPTS) $${PKG_SITES} $${PKG_NAME}-$${PKG_VERSION}; \
+ git clone --depth 1 $(GITOPTS) $${PKG_SITES} $${PKG_NAME}-$${PKG_VERSION}; \
fi; \
tar cJf $${PKG_NAME}-$${PKG_VERSION}.tar.xz $${PKG_NAME}-$${PKG_VERSION}; \
touch $$$${filename}.nohash; \