Skip to content

Commit

Permalink
Sync eng/common directory with azure-sdk-tools repository for Tools P…
Browse files Browse the repository at this point in the history
…R 9982
  • Loading branch information
hallipr authored and azure-sdk committed Mar 5, 2025
1 parent 40272b9 commit c43bac7
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 c43bac7

Please sign in to comment.