Skip to content

Commit

Permalink
Use --no-cone in pipeline sparse checkout script
Browse files Browse the repository at this point in the history
  • Loading branch information
benbp committed Jul 11, 2022
1 parent 4d2d5fb commit e2bfec8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eng/common/pipelines/templates/steps/sparse-checkout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ steps:
Write-Host "git sparse-checkout init"
git sparse-checkout init
Write-Host "git sparse-checkout set '/*' '!/*/' '/eng'"
git sparse-checkout set '/*' '!/*/' '/eng'
Write-Host "git sparse-checkout set --no-cone '/*' '!/*/' '/eng'"
git sparse-checkout set --no-cone '/*' '!/*/' '/eng'
}
# Prevent wildcard expansion in Invoke-Expression (e.g. for checkout path '/*')
Expand Down

0 comments on commit e2bfec8

Please sign in to comment.