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 fd13aea commit 9bd1282Copy full SHA for 9bd1282
start.sh
@@ -200,7 +200,12 @@ if [ -d "$CLONE_DIR" ]; then
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/*"
+# git_retry git fetch origin --tags --prune "+refs/tags/*:refs/tags/*"
204
+ if [ -n "$DEPTH" ]; then
205
+ git_retry git fetch origin --prune "+refs/tags/*:refs/tags/*" --depth=$DEPTH
206
+ else
207
+ git_retry git fetch origin --prune "+refs/tags/*:refs/tags/*"
208
+ fi
209
git remote set-head origin --auto
210
211
if [ -n "$REVISION" ]; then
0 commit comments