Skip to content

Commit 1abe96a

Browse files
committed
utils: add --reset-to-remote to update-checkout invocation
Add `--reset-to-remote` to the `update-checkout` invocation to ensure that the state of the tree is reset. This should help avoid some of the failures that we occassionally see with the builders being left in a modified state.
1 parent 88b3c57 commit 1abe96a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/build-windows-toolchain.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ set "args=%args% --skip-repository swift-integration-tests"
110110
set "args=%args% --skip-repository swift-stress-tester"
111111
set "args=%args% --skip-repository swift-xcode-playground-support"
112112

113-
call "%SourceRoot%\swift\utils\update-checkout.cmd" %args% --clone --skip-history --github-comment "%ghprbCommentBody%"
113+
call "%SourceRoot%\swift\utils\update-checkout.cmd" %args% --clone --skip-history --reset-to-remote --github-comment "%ghprbCommentBody%"
114114

115115
goto :eof
116116
endlocal

0 commit comments

Comments
 (0)