We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bd1282 commit a4fdd44Copy full SHA for a4fdd44
start.sh
@@ -199,11 +199,13 @@ if [ -d "$CLONE_DIR" ]; then
199
git gc --force
200
git_retry git remote prune origin
201
202
- echo "Fetching the updates from origin"
+
203
# git_retry git fetch origin --tags --prune "+refs/tags/*:refs/tags/*"
204
if [ -n "$DEPTH" ]; then
205
+ echo "Fetching the updates from origin with depth $DEPTH"
206
git_retry git fetch origin --prune "+refs/tags/*:refs/tags/*" --depth=$DEPTH
207
else
208
+ echo "Fetching the updates from origin"
209
git_retry git fetch origin --prune "+refs/tags/*:refs/tags/*"
210
fi
211
git remote set-head origin --auto
0 commit comments