[packages/glibc] branch.sh: fetch refs properly

glen glen at pld-linux.org
Thu Sep 1 23:05:19 CEST 2016


commit 5bd363388c6c30e135f0404d6d30e65203ea7e50
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Sep 2 00:05:13 2016 +0300

    branch.sh: fetch refs properly

 branch.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/branch.sh b/branch.sh
index 132f337..e2444a6 100755
--- a/branch.sh
+++ b/branch.sh
@@ -17,7 +17,7 @@ if [ ! -d $repo ]; then
 fi
 
 cd $repo
-	git fetch
+	git fetch origin +$branch:$branch +refs/tags/$tag:refs/tags/$tag
 	git log -p --reverse $tag..$branch | filter > ../$out.tmp
 cd ..
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/glibc.git/commitdiff/5bd363388c6c30e135f0404d6d30e65203ea7e50



More information about the pld-cvs-commit mailing list