diff options
| author | Jeff Carr <[email protected]> | 2025-09-13 00:51:22 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-13 00:51:22 -0500 |
| commit | 405ddb69941983798c99bc6d29f72d68d7ca02a7 (patch) | |
| tree | 3035929339355bbcc546a0624a91227b0a38b447 /doClean.go | |
| parent | b5df8f2dad9ea63bffb4f2528937727c8f6dde12 (diff) | |
work on using repo.Reload() more smarter
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 } |
