Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Commit

Permalink
PoshGit now displays all 0 fields
Browse files Browse the repository at this point in the history
  • Loading branch information
eirikhoe authored and JanDeDobbeleer committed Jun 5, 2020
1 parent 75d140a commit a031c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Helpers/PoshGit.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ function Get-VcsInfo {
if (!$status.HasIndex) {
$vcInfo = $vcInfo + $sl.GitSymbols.BeforeWorkingSymbol
}
if($showStatusWhenZero -or $status.Working.Added) {
if($spg.showStatusWhenZero -or $status.Working.Added) {
$vcInfo = $vcInfo + "$($spg.FileAddedText)$($status.Working.Added.Count) "
}
if($spg.ShowStatusWhenZero -or $status.Working.Modified) {
Expand Down

0 comments on commit a031c7f

Please sign in to comment.