From 12b751cc7fbaa09f205c6207c355300f15885441 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 5 Nov 2025 15:29:40 -0600 Subject: compiles against stat.proto --- reloadBranches.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'reloadBranches.go') diff --git a/reloadBranches.go b/reloadBranches.go index aaa2efc..3fff9e3 100644 --- a/reloadBranches.go +++ b/reloadBranches.go @@ -125,7 +125,7 @@ func (repo *Repo) checkUserBranch() error { return nil } -func (repo *Repo) ExamineBranches() *GitTag { +func (repo *Repo) ExamineBranches() *Stat { var hashCheck string all := repo.GetBranches() path := filepath.Join(repo.FullPath, ".git/refs/") @@ -166,12 +166,12 @@ func (repo *Repo) ExamineBranches() *GitTag { // 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) - tag := new(GitTag) - tag.Refname = b + tag := new(Stat) + tag.Name = b tag.Hash = hash if len(r.Stdout) > 0 { tagtime := parseDateRFC3339(r.Stdout[0]) - tag.Creatordate = timestamppb.New(tagtime) + tag.CommitTime = timestamppb.New(tagtime) } return tag } -- cgit v1.2.3