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

Gitaly migration annotations

parent 48a2c680
...@@ -80,6 +80,8 @@ module Gitlab ...@@ -80,6 +80,8 @@ module Gitlab
end end
# Returns an Array of Branches # Returns an Array of Branches
#
# Gitaly migration: https://gitlab.com/gitlab-org/gitaly/issues/389
def branches(sort_by: nil) def branches(sort_by: nil)
branches_filter(sort_by: sort_by) branches_filter(sort_by: sort_by)
end end
...@@ -157,6 +159,8 @@ module Gitlab ...@@ -157,6 +159,8 @@ module Gitlab
end end
# Returns an Array of Tags # Returns an Array of Tags
#
# Gitaly migration: https://gitlab.com/gitlab-org/gitaly/issues/390
def tags def tags
rugged.references.each("refs/tags/*").map do |ref| rugged.references.each("refs/tags/*").map do |ref|
message = nil 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