diff options
| author | Jeff Carr <[email protected]> | 2024-12-13 12:56:23 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-13 12:56:23 -0600 |
| commit | 4a2568fea3ddab7c1684ce8c474a1f19fe7e4205 (patch) | |
| tree | 03ca9aa5d83a3b57f3b0afab23988b3a1965216c /repoClone.go | |
| parent | 9873bc3d57b89f1e3b142001660a9a4ac2e18810 (diff) | |
cleaner output
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 |
