work on branch detection
This commit is contained in:
parent
d014dbe3d4
commit
80f602c4d9
|
@ -62,13 +62,8 @@ func (repo *Repo) CheckBranches() bool {
|
||||||
if hash == hashCheck {
|
if hash == hashCheck {
|
||||||
// log.Info("notsure why this git show is here", hash)
|
// log.Info("notsure why this git show is here", hash)
|
||||||
} else {
|
} else {
|
||||||
// log.Log(WARN, repo.GetFullPath(), hash, "UNKNOWN BRANCH", r.Stdout, b, cmd)
|
|
||||||
log.Printf("UNKNOWN BRANCH %-50s %s %s %s\n", repo.GetFullPath(), r.Stdout, cmd, b)
|
log.Printf("UNKNOWN BRANCH %-50s %s %s %s\n", repo.GetFullPath(), r.Stdout, cmd, b)
|
||||||
// log.Log(WARN, repo.GetFullPath(), hash, "UNKNOWN BRANCHES IN THIS REPO", cmd)
|
|
||||||
// repo.versionCmdOutput.SetText("UNKNOWN BRANCHES")
|
|
||||||
perfect = false
|
perfect = false
|
||||||
// parts := strings.Split(b, "/")
|
|
||||||
// log.Warn("git push", parts)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return perfect
|
return perfect
|
||||||
|
@ -158,7 +153,7 @@ func (repo *Repo) ExamineBranches() *GitTag {
|
||||||
if hash == hashCheck {
|
if hash == hashCheck {
|
||||||
// log.Info("notsure why this git show is here", hash)
|
// log.Info("notsure why this git show is here", hash)
|
||||||
} else {
|
} else {
|
||||||
// log.Printf("UNKNOWN BRANCH %-50s %s %s %s\n", repo.GetFullPath(), r.Stdout, cmd, b)
|
log.Printf("UNKNOWN BRANCH %-50s %s %s %s\n", repo.GetFullPath(), r.Stdout, cmd, b)
|
||||||
tag := new(GitTag)
|
tag := new(GitTag)
|
||||||
tag.Refname = b
|
tag.Refname = b
|
||||||
tag.Hash = hash
|
tag.Hash = hash
|
||||||
|
|
Loading…
Reference in New Issue