summaryrefslogtreecommitdiff
path: root/reloadBranches.go
diff options
context:
space:
mode:
Diffstat (limited to 'reloadBranches.go')
-rw-r--r--reloadBranches.go8
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, "/")