Skip to content

Commit 773e7d4

Browse files
committed
update cmd
1 parent 7f8ed9a commit 773e7d4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

start.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,11 +200,11 @@ if [ -d "$CLONE_DIR" ]; then
200200
git_retry git remote prune origin
201201

202202
if [ -n "$SKIP_TAGS_ON_UPDATE" ]; then
203-
echo "Fetching updates from origin with${DEPTH:+ a depth of $DEPTH}, skipping tags"
204-
git_retry git fetch origin ${REVISION:-'HEAD'} --prune --depth=${DEPTH:-0} --no-tags
203+
echo "Fetching updates from origin, skipping tags"
204+
git_retry git fetch origin --prune --no-tags
205205
else
206-
echo "Fetching updates from origin with${DEPTH:+ a depth of $DEPTH}, including tags"
207-
git_retry git fetch origin ${REVISION:-'HEAD'} --depth=${DEPTH:-0} --tags --prune "+refs/tags/*:refs/tags/*"
206+
echo "Fetching updates from origin"
207+
git_retry git fetch origin --tags --prune "+refs/tags/*:refs/tags/*"
208208
fi
209209

210210

0 commit comments

Comments
 (0)