File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- version : 10.1.29
1+ version : 10.1.30
Original file line number Diff line number Diff line change @@ -203,8 +203,8 @@ if [ -d "$CLONE_DIR" ]; then
203203 echo " Fetching updates from origin${DEPTH: + with depth $DEPTH } , skipping tags"
204204 git_retry git fetch origin ${REVISION: +$REVISION } --no-tags ${DEPTH: + --depth=$DEPTH }
205205 else
206- echo " Fetching updates from origin"
207- git_retry git fetch origin --tags --prune " +refs/tags/*:refs/tags/*" ${DEPTH: + --depth=$DEPTH }
206+ echo " Fetching updates from origin${DEPTH : + with depth $DEPTH } "
207+ git_retry git fetch origin ${REVISION : + $REVISION } --tags --prune " +refs/tags/*:refs/tags/*" ${DEPTH: + --depth=$DEPTH }
208208 fi
209209
210210 git remote set-head origin --auto
@@ -233,7 +233,7 @@ if [ -d "$CLONE_DIR" ]; then
233233 if [ -n " $REVISION " ]; then
234234 if [ -n " $DEPTH " ]; then
235235 git_retry git remote set-branches origin " *"
236- git_retry git origin $REVISION fetch --depth=$DEPTH
236+ git_retry git fetch origin $REVISION --depth=$DEPTH
237237 fi
238238 git_checkout
239239 fi
You can’t perform that action at this time.
0 commit comments