summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRubén Dávila <ruben@gitlab.com>2018-05-10 15:25:17 -0500
committerRubén Dávila <ruben@gitlab.com>2018-05-10 15:25:17 -0500
commit0a0d4912f54adc3e824b5ff70ad1c563938ee639 (patch)
treeaa3cc7f02838c603a2c0c827138f8c08ad2005a1
parent6c70d7f90bf8be05b67b3ec9ed2eeda3e9f524ea (diff)
downloadgitlab-ce-0a0d4912f54adc3e824b5ff70ad1c563938ee639.tar.gz
Remove duplicate method
-rw-r--r--lib/gitlab/git/repository.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/gitlab/git/repository.rb b/lib/gitlab/git/repository.rb
index 5d47f8b2075..29a3a35812c 100644
--- a/lib/gitlab/git/repository.rb
+++ b/lib/gitlab/git/repository.rb
@@ -579,11 +579,6 @@ module Gitlab
count_commits(from: from, to: to, **options)
end
- # Counts the amount of commits between `from` and `to`.
- def count_commits_between(from, to, options = {})
- count_commits(from: from, to: to, **options)
- end
-
# old_rev and new_rev are commit ID's
# the result of this method is an array of Gitlab::Git::RawDiffChange
def raw_changes_between(old_rev, new_rev)