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 /reloadBranches.go | |
| parent | ebda2ea222ed9f1d348d5d3e0cffb9c9f9c0acec (diff) | |
fix the dumb names
Diffstat (limited to 'reloadBranches.go')
| -rw-r--r-- | reloadBranches.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/reloadBranches.go b/reloadBranches.go index be58dfd..cfae561 100644 --- a/reloadBranches.go +++ b/reloadBranches.go @@ -52,17 +52,17 @@ func (repo *Repo) CheckBranches() bool { } var cmd []string cmd = append(cmd, "git", "show", "-s", "--format=%ci", hash) - r := shell.PathRunLog(repo.GetFullPath(), cmd, GITPB) + r := shell.PathRunLog(repo.GetFullPath(), cmd, INFO) if r.Error != nil { - log.Log(GITPBWARN, "CheckBranches() git show error:", r.Error) + log.Log(WARN, "CheckBranches() git show error:", r.Error) } // git show -s --format=%ci <hash> will give you the time // log.Log(REPO, fullfile) if hash == hashCheck { // log.Info("notsure why this git show is here", hash) } else { - log.Log(GITPBWARN, repo.GetFullPath(), hash, r.Stdout, b) - log.Log(GITPBWARN, "UNKNOWN BRANCHES IN THIS REPO", cmd) + log.Log(WARN, repo.GetFullPath(), hash, r.Stdout, b) + log.Log(WARN, "UNKNOWN BRANCHES IN THIS REPO", cmd) // repo.versionCmdOutput.SetText("UNKNOWN BRANCHES") perfect = false // parts := strings.Split(b, "/") |
