summaryrefslogtreecommitdiff
path: root/clone.go
diff options
context:
space:
mode:
Diffstat (limited to 'clone.go')
-rw-r--r--clone.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/clone.go b/clone.go
index e28957a..dbec873 100644
--- a/clone.go
+++ b/clone.go
@@ -80,6 +80,10 @@ func clone(gopath string) (*gitpb.Repo, error) {
log.Info("clone() could not download err:", err)
return nil, err
}
+ if argv.NonRecursive {
+ // clone and nothing else
+ return pb, nil
+ }
autoWork()
if err := makeValidGoSum(pb); err != nil {