diff options
Diffstat (limited to 'doClean.go')
| -rw-r--r-- | doClean.go | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -20,15 +20,11 @@ func checkRemoteBranches(repo *gitpb.Repo) error { } if repo.VerifyRemoteAndLocalBranches(repo.GetDevelBranchName()) { } else { - repo.Reload() - me.forge.SetConfigSave(true) - return log.Errorf("remote devel is out of sync with local") + return log.Errorf("remote devel is out of sync with local: todo: git pull or git fetch") } if repo.VerifyRemoteAndLocalBranches(repo.GetMasterBranchName()) { } else { - repo.Reload() - me.forge.SetConfigSave(true) - return log.Errorf("remote master is out of sync with local") + return log.Errorf("remote master is out of sync with local: todo: git pull or git fetch") } return nil } |
