Robert Stupp ea7503bc25
Prefer go-git to find the reference name (#633)
Walking the directory tree underneath `.git/refs` is not reliable, as it usually does not
return tags, especially for freshly cloned repos and/or tags fetched from a remote.

The go-git library provides an iterator over all git references.

This approach prefers a reference (tag, branch) from go-git, if found. If none is found,
it falls back to the previous implementation.
2021-05-03 07:32:00 -07:00
..
2021-01-11 22:39:43 -08:00
2020-02-04 16:38:41 -08:00
2020-02-24 12:48:12 -08:00
2020-02-24 12:48:12 -08:00