diff options
Diffstat (limited to 'repoClone.go')
| -rw-r--r-- | repoClone.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/repoClone.go b/repoClone.go index 7a51be1..ab1acee 100644 --- a/repoClone.go +++ b/repoClone.go @@ -154,6 +154,9 @@ func cloneActual(newdir, basedir, giturl string) (string, error) { gitdir := filepath.Join(fullpath, ".git") if IsDirectory(gitdir) { log.Info("git cloned worked to", fullpath) + // also clone notes -- this can store the go.mod and go.sum files + cmd := []string{"git", "fetch", "origin", "refs/notes/*:refs/notes/*"} + shell.PathRunRealtime(fullpath, cmd) return giturl, nil } // git clone didn't really work but did make a directory |
