From: Elan Ruusamäe Date: Sun, 16 Oct 2016 16:39:22 +0000 (+0300) Subject: fix branch fetching X-Git-Tag: AC-branch~11 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;ds=sidebyside;h=9759a3a7da083a127bcfc21d4b02e01068860528;p=packages%2Flighttpd.git fix branch fetching --- diff --git a/branch.sh b/branch.sh index 643a619..72c2ffc 100755 --- a/branch.sh +++ b/branch.sh @@ -37,7 +37,7 @@ if [ ! -d $repo ]; then fi cd $repo - git fetch origin +$branch:refs/remotes/origin/$branch +refs/tags/$tag:refs/tags/$tag + git fetch origin +$branch:$branch +refs/tags/$tag:refs/tags/$tag git log -p --reverse $tag..$branch | filter > ../$out.tmp cd ..