diff options
| author | Jeff Carr <[email protected]> | 2025-10-17 04:05:59 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-17 04:05:59 -0500 |
| commit | f051898378892b9a58e36cc28af68200cadde315 (patch) | |
| tree | 74220e4c9619cc86df7af4608b1edb83650fdc17 /doCommit.go | |
| parent | d02733e0f7fb64fb2dfc68e120e55dfd7fb5405b (diff) | |
remove "forge checkout". too easy to type instead of git checkout
Diffstat (limited to 'doCommit.go')
| -rw-r--r-- | doCommit.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doCommit.go b/doCommit.go index 4a2267c..16e1f78 100644 --- a/doCommit.go +++ b/doCommit.go @@ -42,7 +42,7 @@ func doCommit() (string, error) { if repo.GetCurrentBranchName() != repo.GetUserBranchName() { found := new(gitpb.Repos) found.Append(repo) - footer := me.forge.PrintHumanTable(found) + footer := found.PrintDefaultTB() log.Info(footer) log.Info("") log.Info("wrong branch. Can not commit on", repo.GetCurrentBranchName()) @@ -61,8 +61,8 @@ func doCommitRepo(repo *gitpb.Repo) error { if repo.GetCurrentBranchName() != repo.GetUserBranchName() { found := new(gitpb.Repos) found.Append(repo) - me.forge.PrintHumanTable(found) - log.Info("") + footer := found.PrintDefaultTB() + log.Info(footer) log.Info("wrong branch. Can not commit on", repo.GetCurrentBranchName()) log.Info("") return nil |
