Commit 5ada4930 authored by Vitaly Lipatov's avatar Vitaly Lipatov

gpull: always get tags

parent a2c9a60e
...@@ -58,7 +58,7 @@ pull_all_branches() ...@@ -58,7 +58,7 @@ pull_all_branches()
# pull all branches # pull all branches
for i in $(get_branch_list) ; do for i in $(get_branch_list) ; do
git checkout $i || fatal "can't checkout $i" git checkout $i || fatal "can't checkout $i"
git pull $REPO $i git pull --tags $REPO $i
done done
git checkout $CURRENTBRANCH git checkout $CURRENTBRANCH
} }
...@@ -79,5 +79,5 @@ fi ...@@ -79,5 +79,5 @@ fi
echo "Pull repo from $REPO" echo "Pull repo from $REPO"
git pull $REBASE $REPO $@ || exit git pull $REBASE $REPO $@ || exit
# --rebase do not pull tags # assure we get tags
[ -n "$REBASE" ] && git pull $REPO $@ git pull --tags $REPO $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment