From 232477808f270c3940bf244dcca1ca9f54c5b6bc Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 15 Dec 2024 21:10:25 -0600 Subject: [PATCH] attempt to pull down git notes --- clone.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clone.go b/clone.go index 52bfabd..e0ee77e 100644 --- a/clone.go +++ b/clone.go @@ -123,6 +123,9 @@ func makeValidGoSum(check *gitpb.Repo) error { log.Info(check.GoPath, "is a golang primitive! no need to parse go.sum because there is not one!") return nil } + // attempt to grab the notes + check.Run([]string{"git", "fetch", "origin", "refs/notes/*:refs/notes/*"}) + // first try to generate go.mod & go.sum with go-mod-clean if err := check.ValidGoSum(); err != nil { log.Info("try running go-mod-clean")