From b0fca659c57dd2cb6a88a74d1a349117a3908124 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 8 Jan 2025 03:13:09 -0600 Subject: fix the dumb names --- checkout.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'checkout.go') diff --git a/checkout.go b/checkout.go index 0b88250..b25f169 100644 --- a/checkout.go +++ b/checkout.go @@ -42,21 +42,21 @@ func (repo *Repo) checkoutBranch(bName string) bool { return false } if repo.CheckDirty() { - log.Log(GITPB, repo.GetFullPath(), "is dirty") + log.Log(INFO, repo.GetFullPath(), "is dirty") return false } cmd := []string{"git", "checkout", bName} r := repo.Run(cmd) if r.Error != nil { - log.Log(GITPB, "git checkout error:", r.Error) + log.Log(INFO, "git checkout error:", r.Error) } realname := repo.GetCurrentBranchName() realversion := repo.GetCurrentBranchVersion() - log.Log(GITPB, repo.GetFullPath(), "realname =", realname, "realversion =", realversion) + log.Log(INFO, repo.GetFullPath(), "realname =", realname, "realversion =", realversion) if realname != bName { - log.Log(GITPB, "git checkout failed", repo.GetFullPath(), bName, "!=", realname) + log.Log(INFO, "git checkout failed", repo.GetFullPath(), bName, "!=", realname) return false } return true -- cgit v1.2.3