summaryrefslogtreecommitdiff
path: root/currentVersions.go
diff options
context:
space:
mode:
Diffstat (limited to 'currentVersions.go')
-rw-r--r--currentVersions.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/currentVersions.go b/currentVersions.go
index 682d582..fdedb74 100644
--- a/currentVersions.go
+++ b/currentVersions.go
@@ -144,8 +144,7 @@ func (repo *Repo) gitVersionByName(name string) (string, error) {
return strings.TrimSpace(output), nil
}
if !repo.IsBranch(name) {
- // tag does not exist
- // log.Log(WARN, "LocalTagExists()", name, "did not exist")
+ // branch does not exist
return "", errors.New("gitDescribeByName() git fatal: Not a valid object name: " + name)
}
cmd := []string{"git", "describe", "--tags", name}