diff options
| author | Jeff Carr <[email protected]> | 2025-09-13 01:31:15 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-13 01:31:15 -0500 |
| commit | ce4af38e8b7f05a6d8b48bc957091de0b0b0a9e7 (patch) | |
| tree | f0cb1da2b7ed858e6697045abbc9c091e20c398a /doDirty.go | |
| parent | d406ee5f214429f62a1f951780faababaabe451d (diff) | |
track changesv0.0.137
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 { |
