aboutsummaryrefslogtreecommitdiff
path: root/scripts/azure-pipelines/windows/Get-ChangedFiles.ps1
blob: e299369a04753815284030db6dbfcea75d8b618e (plain)
1
2
3
4
5
6
7
8
9
[CmdletBinding()]
Param(
    [Parameter(Mandatory=$True)]
    [string]$Directory
)

git status --porcelain $Directory | ForEach-Object {
    (-split $_)[1]
}