diff options
| author | Jeff Carr <[email protected]> | 2025-01-08 03:13:09 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-08 03:13:09 -0600 |
| commit | b0fca659c57dd2cb6a88a74d1a349117a3908124 (patch) | |
| tree | d1e43473858cead9872a4652aaaeed85dd2afd38 /checkout.go | |
| parent | ebda2ea222ed9f1d348d5d3e0cffb9c9f9c0acec (diff) | |
fix the dumb names
Diffstat (limited to 'checkout.go')
| -rw-r--r-- | checkout.go | 8 |
1 files changed, 4 insertions, 4 deletions
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 |
