diff --git a/git_update.sh b/git_update.sh index 8a93572..74589dc 100755 --- a/git_update.sh +++ b/git_update.sh @@ -73,11 +73,6 @@ run cd "$dst" if [ -d .git ] ; then - # Compute git branch and tag - tagref= - if [ -n "$tag" ] ; then - tagref="tags/$tag" - fi run git submodule update --init --recursive --force --depth=1 --remote run git fetch --tags --depth=1 --prune --prune-tags origin $ref run git reset --hard FETCH_HEAD