fix(git): add untracked to status

relates to #2349
This commit is contained in:
Jan De Dobbeleer 2022-05-30 20:10:24 +02:00 committed by Jan De Dobbeleer
parent 8bcbe02510
commit 56987bf63a

View file

@ -19,7 +19,7 @@ type ScmStatus struct {
}
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 {