moins tagref dans git_update.sh
This commit is contained in:
parent
c39b97ae37
commit
db1d3477c1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user