summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-24 23:35:36 -0600
committerJeff Carr <[email protected]>2024-11-24 23:35:36 -0600
commit9d13c972e4b36e46b69b45247a3c7dd3f34b3b10 (patch)
treef743f005f47f95acd7520641a0d1a467094b07fc
parent2866815e3c623b44852ddad7b985fe4e82d618e7 (diff)
always use https for git clonev0.22.19
-rw-r--r--clone.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/clone.go b/clone.go
index e0c0247..85c7326 100644
--- a/clone.go
+++ b/clone.go
@@ -128,13 +128,13 @@ func Clone(workdir, gopath string) error {
basedir := strings.TrimSuffix(fullpath, dirname)
var err error
- url := "http://" + gopath
+ url := "https://" + gopath
log.Info("trying git clone")
log.Info("gopath =", gopath)
// try a direct git clone against the gopath
- // cloneActual("helloworld", "/home/jcarr/go/src/go.wit.com/apps", "http://go.wit.com/apps/helloworld")
+ // cloneActual("helloworld", "/home/jcarr/go/src/go.wit.com/apps", "https://go.wit.com/apps/helloworld")
if err = cloneActual(dirname, basedir, url); err == nil {
// git clone worked!
return nil