summaryrefslogtreecommitdiff
path: root/doDirty.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-13 01:31:15 -0500
committerJeff Carr <[email protected]>2025-09-13 01:31:15 -0500
commitce4af38e8b7f05a6d8b48bc957091de0b0b0a9e7 (patch)
treef0cb1da2b7ed858e6697045abbc9c091e20c398a /doDirty.go
parentd406ee5f214429f62a1f951780faababaabe451d (diff)
track changesv0.0.137
Diffstat (limited to 'doDirty.go')
-rw-r--r--doDirty.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/doDirty.go b/doDirty.go
index da11862..2dd4ba4 100644
--- a/doDirty.go
+++ b/doDirty.go
@@ -6,6 +6,7 @@ package forgepb
import (
"time"
+ "go.wit.com/lib/config"
"go.wit.com/lib/gui/shell"
"go.wit.com/lib/protobuf/gitpb"
"go.wit.com/log"
@@ -73,12 +74,14 @@ func doCheckDirty(repo *gitpb.Repo) error {
// nothing changed
} else {
log.Info("Repo changed to clean", repo.FullPath)
+ config.SetChanged("repos", true)
return log.Errorf("%s repo changed to clean", repo.FullPath)
// f.SetConfigSave(true)
}
} else {
if repo.CheckDirty() {
log.Info("Repo changed to dirty", repo.FullPath)
+ config.SetChanged("repos", true)
return log.Errorf("%s repo changed to dirty", repo.FullPath)
// f.SetConfigSave(true)
} else {