Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/git/repository.rb')
-rw-r--r--lib/gitlab/git/repository.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/gitlab/git/repository.rb b/lib/gitlab/git/repository.rb
index 11edf4f30fe..3a0f38bb171 100644
--- a/lib/gitlab/git/repository.rb
+++ b/lib/gitlab/git/repository.rb
@@ -1198,6 +1198,12 @@ module Gitlab
end
end
+ def get_patch_id(old_revision, new_revision)
+ wrapped_gitaly_errors do
+ gitaly_commit_client.get_patch_id(old_revision, new_revision)
+ end
+ end
+
private
def repository_info_size_megabytes