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

gpull: always get tags

parent a2c9a60e
......@@ -58,7 +58,7 @@ pull_all_branches()
# pull all branches
for i in $(get_branch_list) ; do
git checkout $i || fatal "can't checkout $i"
git pull $REPO $i
git pull --tags $REPO $i
done
git checkout $CURRENTBRANCH
}
......@@ -79,5 +79,5 @@ fi
echo "Pull repo from $REPO"
git pull $REBASE $REPO $@ || exit
# --rebase do not pull tags
[ -n "$REBASE" ] && git pull $REPO $@
# assure we get tags
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