diff options
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("") } |
