From daa02ea02370521a92082b94771679992eb1ffc8 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 9 Mar 2024 18:05:17 -0600 Subject: [PATCH] clone is in repostatus --- main.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/main.go b/main.go index dffa258..e9b48cb 100644 --- a/main.go +++ b/main.go @@ -72,19 +72,6 @@ func main() { log.Info("Creating", wdir + "/go.work") rv.MakeGoWork() } - -// for _, repo := range rv.AllRepos() { -// log.Info("found repo", repo.GoPath(), repo.Status.Path()) -// } -} - -func clone(path string) { - pwd, err := os.Getwd() - if err != nil { - return - } - - shell.RunPath(pwd, []string{"git", "clone", path}) } // look for or make a go.work file