summaryrefslogtreecommitdiff
path: root/gitTag.common.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-12 14:53:39 -0500
committerJeff Carr <[email protected]>2025-09-12 14:53:39 -0500
commit6654dbb4102ba0f725f7d82b5f26a7288a68699d (patch)
treec51a1b9e7c371832476271026665cb49309bdbc4 /gitTag.common.go
parent62e5fc396c560d47a351194da04ccec2d7b4f220 (diff)
tag handling is still badv0.0.125
Diffstat (limited to 'gitTag.common.go')
-rw-r--r--gitTag.common.go4
1 files changed, 0 insertions, 4 deletions
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 {