summaryrefslogtreecommitdiff
path: root/checkout.go
diff options
context:
space:
mode:
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)