diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2017-07-12 16:31:36 +0200 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-07-12 17:06:31 +0200 |
commit | 47c844bf34cff269c4c31c2327f1684f5265ebd4 (patch) | |
tree | a7d6bee1ac26708cfcbd095b8ac38279e38ce269 /lib/gitlab/git/ref.rb | |
parent | 571c4f5a4f1b9f6a21f3f3af462fac4c1ea5f42a (diff) | |
download | gitlab-ce-47c844bf34cff269c4c31c2327f1684f5265ebd4.tar.gz |
Add Gitaly notes and annotations to Gitlab::Git
Diffstat (limited to 'lib/gitlab/git/ref.rb')
-rw-r--r-- | lib/gitlab/git/ref.rb | 3 |
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) |