summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--reloadCheckDirty.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/reloadCheckDirty.go b/reloadCheckDirty.go
index 172a373..463397e 100644
--- a/reloadCheckDirty.go
+++ b/reloadCheckDirty.go
@@ -34,6 +34,7 @@ func (repo *Repo) CheckDirty() bool {
log.Error(r.Error, "CheckDirty() git status error")
repo.NoteChange("git status is in error " + fmt.Sprint(r.Error))
repo.Dirty = true
+ repo.State = "dirty"
return true
}