commit f2f6c0bda89c5df83ef8219b160a369387828667
parent 2dcf6d7d16cce6c7416ffe4774155ed7b1e0852e
Author: Daniel Bainton <dpb@driftaway.org>
Date: Tue, 15 Apr 2014 13:18:06 +0300
Only clone a shallow copy of git repos
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mk.fetch b/mk.fetch
@@ -8,7 +8,7 @@ fetch-git:QV:
if test x"$branch" = x""; then
branch=master
fi
- test -d $src || git clone -b $branch $git $src
+ test -d $src || git clone --depth 1 -b $branch $git $src
fetch-http:QV:
if test x"$url" = x""; then