summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-23 09:02:27 -0500
committerJeff Carr <[email protected]>2025-09-23 09:02:27 -0500
commit9c1ba367f6b90e58bbbb57468b88205ca1e69dbb (patch)
treedaf0f40e46d58d7474cce8ae888baff4156772fb
parent540eadaa967c4d981b2ef896a67587a2674ccd48 (diff)
set PB tables are workingv0.0.132
-rw-r--r--gitTag.common.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/gitTag.common.go b/gitTag.common.go
index 2c83da1..0bbd70c 100644
--- a/gitTag.common.go
+++ b/gitTag.common.go
@@ -19,6 +19,16 @@ func (repo *Repo) ActualDevelHash() string {
return ""
}
+func (repo *Repo) ActualGetDevelHash() string {
+ s := repo.GetDevelBranchName()
+ return repo.GetLocalHash(s)
+}
+
+func (repo *Repo) ActualGetUserHash() string {
+ s := repo.GetUserBranchName()
+ return repo.GetLocalHash(s)
+}
+
func (repo *Repo) GetLocalHash(brname string) string {
refname := "refs/heads/" + brname
for tag := range repo.Tags.IterAll() {