summaryrefslogtreecommitdiff
path: root/doCommon.go
diff options
context:
space:
mode:
Diffstat (limited to 'doCommon.go')
-rw-r--r--doCommon.go23
1 files changed, 0 insertions, 23 deletions
diff --git a/doCommon.go b/doCommon.go
index 3e94055..5c37739 100644
--- a/doCommon.go
+++ b/doCommon.go
@@ -53,29 +53,6 @@ func doGitReset() {
}
}
-func doFix() {
- all := me.found.SortByGoPath()
- for all.Scan() {
- repo := all.Next()
- if !repo.IsValid() {
- log.Printf("%10s %-50s", "old?\n", repo.GoPath)
- me.forge.Repos.DeleteByGoPath(repo.GoPath)
- configSave = true
- continue
- }
- log.Printf("running on: %-50s\n", repo.GetGoPath())
- cmd := []string{"ls"}
- repo.Run(cmd)
- if err := checkoutBranches(repo); err != nil {
- badExit(err)
- }
- }
- if configSave {
- me.forge.Repos.ConfigSave()
- okExit("config saved")
- }
-}
-
func checkoutBranches(repo *gitpb.Repo) error {
dname := repo.GetDevelBranchName()
if dname == "" {