[packages/crossnacl-binutils] - currently depth=1 works too

draenog draenog at pld-linux.org
Sat Jul 7 11:13:47 CEST 2012


commit bfb6667992ff115544504cfd23667a98b1c8f500
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Fri Jul 6 21:32:35 2012 +0000

    - currently depth=1 works too
    
    Changed files:
        get-source.sh -> 1.2

 get-source.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/get-source.sh b/get-source.sh
index 44abf72..5a14fde 100644
--- a/get-source.sh
+++ b/get-source.sh
@@ -29,7 +29,7 @@ nacl_revision=$(awk -F'"' '/nacl_revision.:/{print $4}' DEPS.py)
 export GIT_DIR=$package/.git
 
 if [ ! -d $package ]; then
-	git clone --depth 10 $repo_url $package
+	git clone --depth 1 $repo_url $package
 else
 	git fetch
 	git pull origin master


More information about the test mailing list