summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-03 03:51:40 -0600
committerJeff Carr <[email protected]>2024-12-03 03:51:40 -0600
commitc2bd3b64be97cb5a58e9b3271339b5f75d8ccc0a (patch)
tree5b6074183b5dddec27278c17f1fcca1f0876dd1a
parentf4590871586256e2783ada07c784f1e1449aa3a9 (diff)
need to recursive clone
-rw-r--r--repomap.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/repomap.go b/repomap.go
index cfedd19..877681f 100644
--- a/repomap.go
+++ b/repomap.go
@@ -4,6 +4,7 @@ import (
"os"
"strings"
+ "go.wit.com/lib/gui/shell"
"go.wit.com/log"
)
@@ -31,7 +32,9 @@ func repomap() {
repo := me.forge.Repos.FindByGoPath(gopath)
if repo == nil {
if argv.Clone {
- me.forge.Clone(gopath)
+ cmd := []string{"go-clone", "--recursive", gopath}
+ shell.RunRealtime(cmd)
+ // me.forge.Clone(gopath)
} else {
log.Info(gopath, "need to clone")
}