Skip to content

Commit a83ee5d

Browse files
committed
${REVISION:+$REVISION}
1 parent 65165f3 commit a83ee5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

start.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,10 @@ 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 ${DEPTH:+ with depth $DEPTH}, skipping tags"
204-
git_retry git fetch origin --prune --no-tags ${DEPTH:+ --depth=$DEPTH}
203+
echo "Fetching updates from origin${DEPTH:+ with depth $DEPTH}, skipping tags"
204+
git_retry git fetch origin ${REVISION:+$REVISION} --prune --no-tags ${DEPTH:+ --depth=$DEPTH}
205205
else
206-
echo "Fetching updates from origin ${DEPTH:+ with depth $DEPTH}"
206+
echo "Fetching updates from origin${DEPTH:+ with depth $DEPTH}"
207207
git_retry git fetch origin --tags --prune "+refs/tags/*:refs/tags/*" ${DEPTH:+ --depth=$DEPTH}
208208
fi
209209

0 commit comments

Comments
 (0)