From a46c523a7a3a7202f0af97036ff39f01a1dffc2a Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 31 Jan 2024 02:27:17 -0600 Subject: remove non-current branch info Signed-off-by: Jeff Carr --- scan.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scan.go') diff --git a/scan.go b/scan.go index 1549815..9fd4876 100644 --- a/scan.go +++ b/scan.go @@ -22,6 +22,7 @@ func (r *repo) newScan() bool { log.Warn("repo does not exist", r.getPath()) return false } + /* mname := r.status.GetMasterBranchName() mver := r.status.GetMasterVersion() if mname != "guimaster" { @@ -42,6 +43,7 @@ func (r *repo) newScan() bool { uver = uver + " (" + uname + ")" } r.userVersion.SetLabel(uver) + */ cbname := r.status.GetCurrentBranchName() cbversion := r.status.GetCurrentBranchVersion() @@ -136,7 +138,7 @@ func scanGoSum() { if status == "PERFECT" { continue } else { - repo.status.Update() + repo.status.UpdateCurrent() repo.newScan() } -- cgit v1.2.3