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

glen glen at pld-linux.org
Thu Sep 1 23:06:56 CEST 2016


commit 1af77202404e89a6363a4392be7df16b12dac54c
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Sep 2 00:06:47 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 6cbafbc..18b1adf 100755
--- a/branch.sh
+++ b/branch.sh
@@ -37,7 +37,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/lighttpd.git/commitdiff/1af77202404e89a6363a4392be7df16b12dac54c



More information about the pld-cvs-commit mailing list