diff options
Diffstat (limited to 'gitCheckout.go')
| -rw-r--r-- | gitCheckout.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitCheckout.go b/gitCheckout.go index 727cf8c..b1d07d9 100644 --- a/gitCheckout.go +++ b/gitCheckout.go @@ -139,11 +139,11 @@ func (f *Forge) CheckoutUser() bool { all := f.Repos.SortByFullPath() for all.Scan() { repo := all.Next() - count += 1 if repo.GetCurrentBranchName() == repo.GetUserBranchName() { // already on the user branch continue } + count += 1 if repo.CheckoutUser() { // checkout ok } else { |
