summaryrefslogtreecommitdiff
path: root/gitTag.common.go
diff options
context:
space:
mode:
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 {