From 56ec95f9eb91c5ebc48f38a551d83c03231c7584 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 7 Jan 2025 06:15:09 -0600 Subject: [PATCH] minor gui stuff --- scan.go | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/scan.go b/scan.go index f6659a3..af99bf6 100644 --- a/scan.go +++ b/scan.go @@ -45,10 +45,15 @@ func (r *RepoRow) NewScan() int { return r.NewScan2() } +func (r *RepoRow) UpdatePb(newpb *gitpb.Repo) { + r.pb = newpb +} + func (r *RepoRow) NewScan3(newpb *gitpb.Repo) int { - log.Info("got to newscan3()") - log.Info("got to newscan3() new v", newpb.GetMasterVersion()) - log.Info("got to newscan3() old v", r.pb.GetMasterVersion()) + if newpb.GetMasterVersion() != r.pb.GetMasterVersion() { + log.Info("THIS IS IT", newpb.GetMasterVersion(), r.pb.GetMasterVersion(), newpb.GetGoPath()) + } + r.pb = newpb return r.NewScan2() }