Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
eti-codefresh committed Sep 16, 2024
1 parent b0755ad commit fd758ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ if [ -d "$CLONE_DIR" ]; then
echo "Fetching updates from origin${DEPTH:+ with depth $DEPTH}, skipping tags"
git_retry git fetch origin ${REVISION:+$REVISION} --no-tags ${DEPTH:+ --depth=$DEPTH}
else
echo "Fetching updates from origin${DEPTH:+ with depth $DEPTH}"
git_retry git fetch origin ${REVISION:+$REVISION} --tags --prune "+refs/tags/*:refs/tags/*" ${DEPTH:+ --depth=$DEPTH}
echo "Fetching updates from origin"
git_retry git fetch origin --tags --prune "+refs/tags/*:refs/tags/*" ${DEPTH:+ --depth=$DEPTH}
fi

git remote set-head origin --auto
Expand Down Expand Up @@ -233,7 +233,7 @@ if [ -d "$CLONE_DIR" ]; then
if [ -n "$REVISION" ]; then
if [ -n "$DEPTH" ]; then
git_retry git remote set-branches origin "*"
git_retry git fetch origin $REVISION --depth=$DEPTH
git_retry git origin $REVISION fetch --depth=$DEPTH
fi
git_checkout
fi
Expand Down

0 comments on commit fd758ab

Please sign in to comment.