We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b027bbb commit 9cea94bCopy full SHA for 9cea94b
eng/common/pipelines/templates/steps/sparse-checkout.yml
@@ -26,6 +26,11 @@ steps:
26
# Define this inline, because of the chicken/egg problem with loading a script when nothing
27
# has been checked out yet.
28
script: |
29
+ # Setting $PSNativeCommandArgumentPassing to 'Legacy' to use PowerShell
30
+ # 7.2 behavior for command argument passing. Newer behaviors will result
31
+ # in errors from git.exe.
32
+ $PSNativeCommandArgumentPassing = 'Legacy'
33
+
34
function SparseCheckout([Array]$paths, [Hashtable]$repository)
35
{
36
$dir = $repository.WorkingDirectory
0 commit comments