Skip to content

Commit

Permalink
Add path loggin to sparse-checkout (#33021)
Browse files Browse the repository at this point in the history
Co-authored-by: Patrick Hallisey <[email protected]>
Co-authored-by: Mike Harder <[email protected]>
  • Loading branch information
3 people authored Mar 5, 2025
1 parent 1175ddb commit d7a8f4f
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 @@ -79,9 +79,9 @@ steps:
if (Test-Path .git/info/sparse-checkout) {
$hasInitialized = $true
Write-Host "Repository $($repository.Name) has already been initialized. Skipping this step."
Write-Host "Repository $($repository.Name) has already been initialized in $pwd. Skipping this step."
} else {
Write-Host "Repository $($repository.Name) is being initialized."
Write-Host "Repository $($repository.Name) is being initialized in $pwd"
if ($repository.Commitish -match '^refs/pull/\d+/merge$') {
Retry git clone --no-checkout --filter=tree:0 -c remote.origin.fetch=''+$($repository.Commitish):refs/remotes/origin/$($repository.Commitish)'' https://github.com/$($repository.Name) .
Expand Down

0 comments on commit d7a8f4f

Please sign in to comment.