set PB tables are working
This commit is contained in:
parent
540eadaa96
commit
9c1ba367f6
|
@ -19,6 +19,16 @@ func (repo *Repo) ActualDevelHash() string {
|
||||||
return ""
|
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 {
|
func (repo *Repo) GetLocalHash(brname string) string {
|
||||||
refname := "refs/heads/" + brname
|
refname := "refs/heads/" + brname
|
||||||
for tag := range repo.Tags.IterAll() {
|
for tag := range repo.Tags.IterAll() {
|
||||||
|
|
Loading…
Reference in New Issue