vcpkg/scripts/azure-pipelines/windows/Get-ChangedFiles.ps1

10 lines
158 B
PowerShell

[CmdletBinding()]
Param(
[Parameter(Mandatory=$True)]
[string]$Directory
)
git status --porcelain $Directory | ForEach-Object {
(-split $_)[1]
}