Compare commits

..

No commits in common. "master" and "v0.0.127" have entirely different histories.

2 changed files with 21 additions and 1 deletions

View File

@ -19,3 +19,23 @@ func (mt *GitTagsTable) PrintTable() {
mt.MakeTable()
cobol.PrintTable(mt.pb)
}
/*
func (mt *GitTagsTable) MakeTable() {
for _, name := range mt.pb.Order {
// log.Info("gitpb: looking for row name()", name)
if mt.doStringFunc(name) {
continue
}
if mt.doIntFunc(name) {
continue
}
if mt.doTimeFunc(name) {
continue
}
if mt.doButtonFunc(name) {
continue
}
}
}
*/

View File

@ -10,7 +10,7 @@
package gitpb
func (t *ReposTable) MyMasterBranch() *RepoAnyFunc {
func (t *ReposTable) MyMasterBranch() *RepoStringFunc {
sf := t.AddStringFunc("master", func(m *Repo) string {
return m.MasterBranchName
})