summaryrefslogtreecommitdiff
path: root/checkout.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-05 02:26:38 -0500
committerJeff Carr <[email protected]>2025-10-05 02:26:38 -0500
commitddee08e75db509ee187e5774a05196698c15ff93 (patch)
treed872ac04eb5425a7e3372061b799da950f49f8a2 /checkout.go
parent0aa1358d85745ee542a29787aa20d35fd2848b2e (diff)
rm old junk
Diffstat (limited to 'checkout.go')
-rw-r--r--checkout.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/checkout.go b/checkout.go
index 6b6e819..b71fd16 100644
--- a/checkout.go
+++ b/checkout.go
@@ -48,11 +48,11 @@ func (repo *Repo) CheckoutDevel() bool {
func (repo *Repo) CheckoutUser() error {
bName := repo.GetUserBranchName()
- if bName == "uerr" {
+ if bName == "" {
usr, _ := user.Current()
repo.SetUserBranchName(usr.Username)
bName = usr.Username
- log.Info("gitpb CheckoutUser() somehow got user 'uerr'")
+ log.Info("gitpb CheckoutUser() user branchname was blank")
}
return repo.createUserBranch(bName)