summaryrefslogtreecommitdiff
path: root/reloadBranches.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-11-05 15:29:40 -0600
committerJeff Carr <[email protected]>2025-11-05 15:29:40 -0600
commit12b751cc7fbaa09f205c6207c355300f15885441 (patch)
treed1ba97cbdc5f6d9c86d94206dc89eb1c878f7c97 /reloadBranches.go
parentb7efa450a8a220625174f21ae15f9b7ea1cd3a3b (diff)
compiles against stat.protov0.0.182
Diffstat (limited to 'reloadBranches.go')
-rw-r--r--reloadBranches.go8
1 files changed, 4 insertions, 4 deletions
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
}