Skip to content

Commit

Permalink
Turn off git auto gc for sparse-checkout (#30756)
Browse files Browse the repository at this point in the history
Co-authored-by: James Suplizio <[email protected]>
  • Loading branch information
azure-sdk and JimSuplizio authored Jun 13, 2023
1 parent a403a54 commit dc395e5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions eng/common/pipelines/templates/steps/sparse-checkout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ steps:
git clone --no-checkout --filter=tree:0 https://github.com/$($repository.Name) .
}
# Turn off git GC for sparse checkout. Note: The devops checkout task does this by default
Write-Host "git config gc.auto 0"
git config gc.auto 0
Write-Host "git sparse-checkout init"
git sparse-checkout init
Expand Down

0 comments on commit dc395e5

Please sign in to comment.