mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-10-05 19:30:59 +00:00
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. |
||
---|---|---|
.. | ||
cartesian.go | ||
cartesian_test.go | ||
draw.go | ||
dryrun.go | ||
executor.go | ||
executor_test.go | ||
file.go | ||
git.go | ||
git_test.go | ||
line_writer.go | ||
line_writer_test.go | ||
logger.go |