summaryrefslogtreecommitdiff
path: root/gitCheckout.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-08 10:11:17 -0600
committerJeff Carr <[email protected]>2025-01-08 10:11:17 -0600
commitf9dd82cdcc6db632bfdecf2623e7e1486a37c6b3 (patch)
treeafb822a45cc63ae13c879c0bd644aee5ec9c868a /gitCheckout.go
parent4f84a4e584ff49f4351c236df633f1c690ccbda5 (diff)
work on new protobuf for patchsets
Diffstat (limited to 'gitCheckout.go')
-rw-r--r--gitCheckout.go2
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 {