From c49d247ae8c9cdb8cf3ed34c1ebd254f33049b01 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 29 Nov 2024 02:20:44 -0600 Subject: [PATCH] quiet output. autotypist starting to work again --- gitTags.query.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gitTags.query.go b/gitTags.query.go index e145480..34f500b 100644 --- a/gitTags.query.go +++ b/gitTags.query.go @@ -105,18 +105,19 @@ func (repo *Repo) LocalTagExists(findname string) bool { loop := repo.AllTags() for loop.Scan() { t := loop.Next() - log.Info("tag:", t.Refname) + // log.Info("LocalTagExists() tag:", t.Refname) tagname := t.Refname if strings.HasPrefix(tagname, "refs/remotes") { continue } path, filename := filepath.Split(tagname) - log.Log(GITPB, "tag:", path, filename, "from", repo.GoPath) + log.Log(GITPB, "LocalTagExists() tag:", path, filename, "from", repo.GoPath) if filename == findname { - log.Log(GITPBWARN, "found tag:", path, filename, "from", repo.GoPath) + log.Log(GITPB, "found tag:", path, filename, "from", repo.GoPath) return true } } + log.Log(GITPBWARN, "did not find tag:", findname, "in", repo.GoPath) return false }