Merge branch 'rd-remove-duplicate-method' into 'master'

Remove duplicate method

See merge request gitlab-org/gitlab-ce!18886
This commit is contained in:
Robert Speicher 2018-05-11 18:15:44 +00:00
commit 40683268b2

View file

@ -579,11 +579,6 @@ module Gitlab
count_commits(from: from, to: to, **options) count_commits(from: from, to: to, **options)
end 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 # old_rev and new_rev are commit ID's
# the result of this method is an array of Gitlab::Git::RawDiffChange # the result of this method is an array of Gitlab::Git::RawDiffChange
def raw_changes_between(old_rev, new_rev) def raw_changes_between(old_rev, new_rev)