Skip to content

Commit

Permalink
Merge pull request #913 from StartAutomating/ugitCompatibilityFix
Browse files Browse the repository at this point in the history
Updating GitUtils.ps1: (Fixing ugit compatibility issue #912)
  • Loading branch information
dahlbyk committed Jul 13, 2022
2 parents 47cb950 + cd2c50b commit 858d0e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GitUtils.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ function Get-GitStatus {
"All" { $untrackedFilesOption = "-uall" }
default { $untrackedFilesOption = "-unormal" }
}
$status = Invoke-Utf8ConsoleCommand { git --no-optional-locks -c core.quotepath=false -c color.status=false status $untrackedFilesOption --short --branch 2>$null }
$status = Invoke-Utf8ConsoleCommand { git --no-optional-locks '-c' core.quotepath=false '-c' color.status=false status $untrackedFilesOption --short --branch 2>$null }
if ($settings.EnableStashStatus) {
dbg 'Getting stash count' $sw
$stashCount = $null | git --no-optional-locks stash list 2>$null | measure-object | Select-Object -expand Count
Expand Down

0 comments on commit 858d0e1

Please sign in to comment.