From 6654dbb4102ba0f725f7d82b5f26a7288a68699d Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 12 Sep 2025 14:53:39 -0500 Subject: tag handling is still bad --- gitTag.common.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gitTag.common.go') diff --git a/gitTag.common.go b/gitTag.common.go index 8aa76bf..2c83da1 100644 --- a/gitTag.common.go +++ b/gitTag.common.go @@ -83,8 +83,6 @@ func (repo *Repo) IsDevelRemote() bool { // eventually this will be worked out by forge in some future code that hasn't been made yet func (repo *Repo) IsBranch(findname string) bool { for t := range repo.Tags.IterAll() { - // log.Info("LocalTagExists() tag:", t.Refname) - tagname := t.Refname if strings.HasPrefix(tagname, "refs/remotes") { continue @@ -103,10 +101,8 @@ func (repo *Repo) IsBranch(findname string) bool { func (repo *Repo) IsLocalBranch(findname string) bool { for t := range repo.Tags.IterAll() { if !strings.HasPrefix(t.Refname, "refs/heads") { - // log.Info("LocalTagExists() skip tag:", t.Refname) continue } - // log.Info("LocalTagExists() check tag:", t.Refname) path, filename := filepath.Split(t.Refname) log.Log(INFO, "gitpb.IsBranch() tag:", path, filename, "from", repo.GetGoPath()) if filename == findname { -- cgit v1.2.3