summaryrefslogtreecommitdiff
path: root/doCommit.go
diff options
context:
space:
mode:
Diffstat (limited to 'doCommit.go')
-rw-r--r--doCommit.go6
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