diff options
Diffstat (limited to 'repomap.go')
| -rw-r--r-- | repomap.go | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -30,10 +30,13 @@ func repomap() { comment = strings.Join(parts[2:], " ") } repo := me.forge.Repos.FindByGoPath(gopath) + if argv.Force && argv.Clone { + cmd := []string{"go-clone", "--recursive", gopath} + shell.RunRealtime(cmd) + continue + } if repo == nil { if argv.Clone { - cmd := []string{"go-clone", "--recursive", gopath} - shell.RunRealtime(cmd) // me.forge.Clone(gopath) } else { log.Info(gopath, "need to clone") |
