quiet output. autotypist starting to work again

This commit is contained in:
Jeff Carr 2024-11-29 02:20:44 -06:00
parent d283d2d297
commit c49d247ae8
1 changed files with 4 additions and 3 deletions

View File

@ -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
}