Skip to content

Commit a4fdd44

Browse files
committed
test9
1 parent 9bd1282 commit a4fdd44

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

start.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,11 +199,13 @@ if [ -d "$CLONE_DIR" ]; then
199199
git gc --force
200200
git_retry git remote prune origin
201201

202-
echo "Fetching the updates from origin"
202+
203203
# git_retry git fetch origin --tags --prune "+refs/tags/*:refs/tags/*"
204204
if [ -n "$DEPTH" ]; then
205+
echo "Fetching the updates from origin with depth $DEPTH"
205206
git_retry git fetch origin --prune "+refs/tags/*:refs/tags/*" --depth=$DEPTH
206207
else
208+
echo "Fetching the updates from origin"
207209
git_retry git fetch origin --prune "+refs/tags/*:refs/tags/*"
208210
fi
209211
git remote set-head origin --auto

0 commit comments

Comments
 (0)