From 0a2b2f5cf4d1b2a87c07cd2ad73219143bac6e3a Mon Sep 17 00:00:00 2001 From: Stefano Azzalini Date: Tue, 5 Dec 2017 08:00:43 +0100 Subject: Clone mingw-w64 using --depth 1 Full git history is not necessary to run the build. This speed up the cloning process as well --- mingw-w64-build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mingw-w64-build b/mingw-w64-build index b311cf2..5758577 100644 --- a/mingw-w64-build +++ b/mingw-w64-build @@ -82,7 +82,7 @@ download_sources() cd "$src" || error_exit echo "downloading mingw-w64-git" >&3 - git clone git://git.code.sf.net/p/mingw-w64/mingw-w64 "mingw-w64-git" || error_exit + git clone --depth 1 git://git.code.sf.net/p/mingw-w64/mingw-w64 "mingw-w64-git" || error_exit local urls=( "http://ftp.gnu.org/gnu/binutils/binutils-$v_binutils.tar.bz2" @@ -262,4 +262,4 @@ for arch in $@; do done rm -fr "$wd/bld" "$wd/src" -exit 0 \ No newline at end of file +exit 0 -- cgit v1.2.3