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:
authorMaxim Rydkin <maks.rydkin@gmail.com>2017-08-24 20:52:43 +0300
committerMaxim Rydkin <maks.rydkin@gmail.com>2017-08-29 11:14:42 +0300
commit10ae0d8316bd9ae5aa1ce46fcea3ec8f01a3b336 (patch)
tree2b9a0156b7eb07c6b7f910b1bb8d0ca6a6d7eb05 /lib/gitlab/git/repository.rb
parent90112f57d26a21a6c219e24367b7ef91d93858ad (diff)
replace `is_ancestor` with `ancestor?`
Diffstat (limited to 'lib/gitlab/git/repository.rb')
-rw-r--r--lib/gitlab/git/repository.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/git/repository.rb b/lib/gitlab/git/repository.rb
index dce3a9b2d37..03e2bec84dd 100644
--- a/lib/gitlab/git/repository.rb
+++ b/lib/gitlab/git/repository.rb
@@ -440,7 +440,7 @@ module Gitlab
# Returns true is +from+ is direct ancestor to +to+, otherwise false
def ancestor?(from, to)
- gitaly_commit_client.is_ancestor(from, to)
+ gitaly_commit_client.ancestor?(from, to)
end
# Return an array of Diff objects that represent the diff