diff options
| author | Jeff Carr <[email protected]> | 2025-07-01 18:54:41 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-07-01 18:54:41 -0500 |
| commit | 1ea9bdf841cb4eae4cd7b1d96288852e799fbeb2 (patch) | |
| tree | f8b4248268334967b6f668c0a45806f717b60f98 /doCommit.go | |
| parent | 1d50f9eb697591a0c9fb06056b1c0762c9a7f50d (diff) | |
deprecate old stuff
Diffstat (limited to 'doCommit.go')
| -rw-r--r-- | doCommit.go | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doCommit.go b/doCommit.go index b86ba31..404171a 100644 --- a/doCommit.go +++ b/doCommit.go @@ -45,8 +45,9 @@ func doCommit() { } if repo.GetCurrentBranchName() != repo.GetUserBranchName() { - me.found.Append(repo) - me.forge.PrintHumanTable(me.found) + found := new(gitpb.Repos) + found.Append(repo) + me.forge.PrintHumanTable(found) log.Info("") log.Info("wrong branch. Can not commit on", repo.GetCurrentBranchName()) log.Info("") @@ -72,8 +73,9 @@ func doCommit() { func doCommitRepo(repo *gitpb.Repo) error { if repo.GetCurrentBranchName() != repo.GetUserBranchName() { - me.found.Append(repo) - me.forge.PrintHumanTable(me.found) + found := new(gitpb.Repos) + found.Append(repo) + me.forge.PrintHumanTable(found) log.Info("") log.Info("wrong branch. Can not commit on", repo.GetCurrentBranchName()) log.Info("") |
