File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -179,22 +179,22 @@ jobs:
179179 if (Test-Path $path) {
180180 cd $path; c
181181 if (Test-Path .git) {
182- git init; c
182+ & git init; c
183183 } else {
184- git status
184+ & git status
185185 }
186186 } else {
187- git init $path; c
187+ & git init $path; c
188188 cd $path; c
189189 }
190- git config core.autocrlf false; c
191- git config core.untrackedCache true; c
190+ & git config core.autocrlf false; c
191+ & git config core.untrackedCache true; c
192192 if (($set_origin -ne 0) -and !(git config remote.origin.url)) {
193- git remote add origin $url; c
193+ & git remote add origin $url; c
194194 }
195- git fetch --depth=1 $url master; c
196- git reset --hard FETCH_HEAD; c
197- git clean -df; c
195+ & git fetch --depth=1 $url master; c
196+ & git reset --hard FETCH_HEAD; c
197+ & git clean -df; c
198198 }
199199
200200 # Initialize Git for Windows' SDK
@@ -205,7 +205,7 @@ jobs:
205205 "/git-sdk-64/`n/test-cache/`n" | Out-File -NoNewLine -Encoding ascii -Append "$(Build.SourcesDirectory)\.git\info\exclude"
206206 displayName: 'Initialize the Git for Windows SDK'
207207 - powershell : |
208- git-sdk-64\git-cmd --command=usr\\bin\\bash.exe -lc @"
208+ & " git-sdk-64\git-cmd.exe" --command=usr\\bin\\bash.exe -lc @"
209209 export MAKEFLAGS=-j10
210210 export DEVELOPER=1
211211 export NO_PERL=1
You can’t perform that action at this time.
0 commit comments