mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-01-05 08:17:25 -08:00
parent
8bcbe02510
commit
56987bf63a
|
@ -19,7 +19,7 @@ type ScmStatus struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *ScmStatus) Changed() bool {
|
func (s *ScmStatus) Changed() bool {
|
||||||
return s.Added > 0 || s.Deleted > 0 || s.Modified > 0 || s.Unmerged > 0 || s.Moved > 0 || s.Conflicted > 0
|
return s.Added > 0 || s.Deleted > 0 || s.Modified > 0 || s.Unmerged > 0 || s.Moved > 0 || s.Conflicted > 0 || s.Untracked > 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *ScmStatus) String() string {
|
func (s *ScmStatus) String() string {
|
||||||
|
|
Loading…
Reference in a new issue