Skip to content

Commit

Permalink
remove --prune
Browse files Browse the repository at this point in the history
  • Loading branch information
eti-codefresh committed Sep 3, 2024
1 parent 9f1ea54 commit 88eb361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ if [ -d "$CLONE_DIR" ]; then

if [ -n "$SKIP_TAGS_ON_UPDATE" ]; then
echo "Fetching updates from origin${DEPTH:+ with depth $DEPTH}, skipping tags"
git_retry git fetch origin ${REVISION:+$REVISION} --prune --no-tags ${DEPTH:+ --depth=$DEPTH}
git_retry git fetch origin ${REVISION:+$REVISION} --no-tags ${DEPTH:+ --depth=$DEPTH}
else
echo "Fetching updates from origin"
git_retry git fetch origin --tags --prune "+refs/tags/*:refs/tags/*"
Expand Down

0 comments on commit 88eb361

Please sign in to comment.