quiet output. autotypist starting to work again
This commit is contained in:
parent
d283d2d297
commit
c49d247ae8
|
@ -105,18 +105,19 @@ func (repo *Repo) LocalTagExists(findname string) bool {
|
|||
loop := repo.AllTags()
|
||||
for loop.Scan() {
|
||||
t := loop.Next()
|
||||
log.Info("tag:", t.Refname)
|
||||
// log.Info("LocalTagExists() tag:", t.Refname)
|
||||
|
||||
tagname := t.Refname
|
||||
if strings.HasPrefix(tagname, "refs/remotes") {
|
||||
continue
|
||||
}
|
||||
path, filename := filepath.Split(tagname)
|
||||
log.Log(GITPB, "tag:", path, filename, "from", repo.GoPath)
|
||||
log.Log(GITPB, "LocalTagExists() tag:", path, filename, "from", repo.GoPath)
|
||||
if filename == findname {
|
||||
log.Log(GITPBWARN, "found tag:", path, filename, "from", repo.GoPath)
|
||||
log.Log(GITPB, "found tag:", path, filename, "from", repo.GoPath)
|
||||
return true
|
||||
}
|
||||
}
|
||||
log.Log(GITPBWARN, "did not find tag:", findname, "in", repo.GoPath)
|
||||
return false
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue