From 6ebc5c9e0a358b827233aba43e50f8c194e9cb32 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 17 Oct 2025 04:06:42 -0500 Subject: keep removing old stuff --- branches.go | 6 +++--- tableDefault.go | 13 ------------- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/branches.go b/branches.go index fc1364c..05c08b6 100644 --- a/branches.go +++ b/branches.go @@ -96,7 +96,7 @@ func (f *Forge) DoAllCheckoutMaster() error { found.Append(repo) } } - f.PrintHumanTable(found) + found.PrintDefaultTB() log.Printf("There are %d repos that are NOT on the master branch\n", found.Len()) return err } @@ -175,7 +175,7 @@ func (f *Forge) DoAllCheckoutUser(force bool) error { found.Append(repo) } } - f.PrintHumanTable(found) + found.PrintDefaultTB() log.Printf("There are %d repos that are NOT on the user branch\n", found.Len()) return err } @@ -270,7 +270,7 @@ func (f *Forge) DoAllCheckoutDevel(force bool) error { found.Append(repo) } } - f.PrintHumanTable(found) + found.PrintDefaultTB() log.Printf("There are %d repos that are NOT on the devel branch\n", found.Len()) return err } diff --git a/tableDefault.go b/tableDefault.go index 38f95cb..9cd9012 100644 --- a/tableDefault.go +++ b/tableDefault.go @@ -112,16 +112,3 @@ func (f *Forge) makeDefaultTB(pb *gitpb.Repos) *gitpb.ReposTable { col.Width = 42 return t } - -// // the old function names -func (f *Forge) PrintHumanTable(pb *gitpb.Repos) string { - return f.PrintDefaultTB(pb) -} - -func (f *Forge) PrintHumanTableFull(pb *gitpb.Repos) string { - return f.PrintDefaultTB(pb) -} - -func (f *Forge) PrintHumanTableDirty(pb *gitpb.Repos) string { - return f.PrintDefaultTB(pb) -} -- cgit v1.2.3