summaryrefslogtreecommitdiff
path: root/lib/gitlab/git/ref.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/git/ref.rb')
-rw-r--r--lib/gitlab/git/ref.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/gitlab/git/ref.rb b/lib/gitlab/git/ref.rb
index ebf7393dc61..c1a10688285 100644
--- a/lib/gitlab/git/ref.rb
+++ b/lib/gitlab/git/ref.rb
@@ -1,3 +1,5 @@
+# Gitaly note: JV: probably no RPC's here (just one interaction with Rugged).
+
module Gitlab
module Git
class Ref
@@ -24,6 +26,7 @@ module Gitlab
str.gsub(/\Arefs\/heads\//, '')
end
+ # Gitaly: this method will probably be migrated indirectly via its call sites.
def self.dereference_object(object)
object = object.target while object.is_a?(Rugged::Tag::Annotation)