diff options
Diffstat (limited to 'doDirty.go')
| -rw-r--r-- | doDirty.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 { |
