diff options
| author | Jeff Carr <[email protected]> | 2025-09-08 13:48:06 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-08 13:48:06 -0500 |
| commit | ce813a345030dffa9d997cb837cc8be99b9c5946 (patch) | |
| tree | f74831b31524683476199d8ec5545310fbc8d0d3 /main.go | |
| parent | 11bf5481c7cb393cf2d3416a9f64be078da27e85 (diff) | |
common code. add "gui" to open the guiv0.22.153
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 17 |
1 files changed, 14 insertions, 3 deletions
@@ -257,9 +257,20 @@ func main() { // open the gui unless the user performed some other // basically, if you run just 'forge' it should open the GUI - // if opening the GUI, always check git for dirty repos - me.forge.CheckDirty() - doGui() + if argv.Gui != nil { + // if opening the GUI, always check git for dirty repos + me.forge.CheckDirty() + doGui() + } + // got to the end with nothing to do (?) + if dumpWorkRepos() { + // found some repos at least + } else { + // every repo is in a really clean state. no extra files anywhere + // no dirty repos, no repos that need to be published + // nothing different between user and master branch version. not common + log.Info("All of your git repositories appear to be in perfect shape") + } okExit("") } |
