summaryrefslogtreecommitdiff
path: root/gitTags.query.go
diff options
context:
space:
mode:
Diffstat (limited to 'gitTags.query.go')
-rw-r--r--gitTags.query.go7
1 files 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
}