Explorar el Código

use shallow clone for head

Waldemar Brodkorb hace 9 años
padre
commit
a334f29f7b
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      mk/fetch.mk

+ 1 - 2
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; \