Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
|
ab666ddbc3 | |
|
0b30cd36dc |
|
@ -19,23 +19,3 @@ func (mt *GitTagsTable) PrintTable() {
|
||||||
mt.MakeTable()
|
mt.MakeTable()
|
||||||
cobol.PrintTable(mt.pb)
|
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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
package gitpb
|
package gitpb
|
||||||
|
|
||||||
func (t *ReposTable) MyMasterBranch() *RepoStringFunc {
|
func (t *ReposTable) MyMasterBranch() *RepoAnyFunc {
|
||||||
sf := t.AddStringFunc("master", func(m *Repo) string {
|
sf := t.AddStringFunc("master", func(m *Repo) string {
|
||||||
return m.MasterBranchName
|
return m.MasterBranchName
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue