moins tagref dans git_update.sh

This commit is contained in:
eleonore12345 2024-07-15 09:49:11 +02:00
parent c39b97ae37
commit db1d3477c1

View File

@ -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