Commit 8ca394b8 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Gitaly migration annotations

parent 48a2c680
......@@ -80,6 +80,8 @@ module Gitlab
end
# Returns an Array of Branches
#
# Gitaly migration: https://gitlab.com/gitlab-org/gitaly/issues/389
def branches(sort_by: nil)
branches_filter(sort_by: sort_by)
end
......@@ -157,6 +159,8 @@ module Gitlab
end
# Returns an Array of Tags
#
# Gitaly migration: https://gitlab.com/gitlab-org/gitaly/issues/390
def tags
rugged.references.each("refs/tags/*").map do |ref|
message = nil
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment