From 80f602c4d91fa84cfbafd3787cf255d2832ed588 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 18 Jan 2025 07:48:03 -0600 Subject: [PATCH] work on branch detection --- reloadBranches.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/reloadBranches.go b/reloadBranches.go index 26937ab..74cc91e 100644 --- a/reloadBranches.go +++ b/reloadBranches.go @@ -62,13 +62,8 @@ func (repo *Repo) CheckBranches() bool { if hash == hashCheck { // log.Info("notsure why this git show is here", hash) } else { - // log.Log(WARN, repo.GetFullPath(), hash, "UNKNOWN BRANCH", r.Stdout, b, cmd) log.Printf("UNKNOWN BRANCH %-50s %s %s %s\n", repo.GetFullPath(), r.Stdout, cmd, b) - // log.Log(WARN, repo.GetFullPath(), hash, "UNKNOWN BRANCHES IN THIS REPO", cmd) - // repo.versionCmdOutput.SetText("UNKNOWN BRANCHES") perfect = false - // parts := strings.Split(b, "/") - // log.Warn("git push", parts) } } return perfect @@ -158,7 +153,7 @@ func (repo *Repo) ExamineBranches() *GitTag { if hash == hashCheck { // log.Info("notsure why this git show is here", hash) } else { - // log.Printf("UNKNOWN BRANCH %-50s %s %s %s\n", repo.GetFullPath(), r.Stdout, cmd, b) + log.Printf("UNKNOWN BRANCH %-50s %s %s %s\n", repo.GetFullPath(), r.Stdout, cmd, b) tag := new(GitTag) tag.Refname = b tag.Hash = hash