diff options
| author | Jeff Carr <[email protected]> | 2024-12-03 03:51:40 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-03 03:51:40 -0600 |
| commit | c2bd3b64be97cb5a58e9b3271339b5f75d8ccc0a (patch) | |
| tree | 5b6074183b5dddec27278c17f1fcca1f0876dd1a | |
| parent | f4590871586256e2783ada07c784f1e1449aa3a9 (diff) | |
need to recursive clone
| -rw-r--r-- | repomap.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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") } |
