always set the State for now

This commit is contained in:
Jeff Carr 2025-01-07 21:31:15 -06:00
parent 3298e02c2a
commit d4a31b8e0b
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ func (repo *Repo) CheckDirty() bool {
log.Error(r.Error, "CheckDirty() git status error") log.Error(r.Error, "CheckDirty() git status error")
repo.NoteChange("git status is in error " + fmt.Sprint(r.Error)) repo.NoteChange("git status is in error " + fmt.Sprint(r.Error))
repo.Dirty = true repo.Dirty = true
repo.State = "dirty"
return true return true
} }