packages: crossnacl-binutils/get-source.sh - fetch only master branch

glen glen at pld-linux.org
Fri Jul 6 23:59:05 CEST 2012


Author: glen                         Date: Fri Jul  6 21:59:05 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fetch only master branch

---- Files affected:
packages/crossnacl-binutils:
   get-source.sh (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/crossnacl-binutils/get-source.sh
diff -u packages/crossnacl-binutils/get-source.sh:1.3 packages/crossnacl-binutils/get-source.sh:1.4
--- packages/crossnacl-binutils/get-source.sh:1.3	Fri Jul  6 23:53:00 2012
+++ packages/crossnacl-binutils/get-source.sh	Fri Jul  6 23:59:00 2012
@@ -32,9 +32,9 @@
 	install -d $package
 	git init
 	git remote add origin $repo_url
-	git fetch --depth 1
+	git fetch --depth 1 origin refs/heads/master:refs/remotes/origin/master
 else
-	git fetch
+	git fetch origin refs/heads/master:refs/remotes/origin/master
 fi
 
 # get src/native_client/tools/REVISIONS directly from svn
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/crossnacl-binutils/get-source.sh?r1=1.3&r2=1.4



More information about the pld-cvs-commit mailing list