summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")
}