quiet debugging output
This commit is contained in:
parent
9ad1193746
commit
dba126cfdf
|
@ -37,9 +37,9 @@ func (repo *Repo) GetRemoteBranches() []string {
|
||||||
// v0.22.61-15-gbab84d7
|
// v0.22.61-15-gbab84d7
|
||||||
func (repo *Repo) GetHashName(h string) (string, error) {
|
func (repo *Repo) GetHashName(h string) (string, error) {
|
||||||
h = strings.TrimSpace(h)
|
h = strings.TrimSpace(h)
|
||||||
log.Info("GetHashName() is looking for", repo.GetGoPath(), h)
|
// log.Info("GetHashName() is looking for", repo.GetGoPath(), h)
|
||||||
cmd := []string{"git", "describe", "--tags", h}
|
cmd := []string{"git", "describe", "--tags", h}
|
||||||
r, err := repo.RunStrict(cmd)
|
r, err := repo.RunQuiet(cmd)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue