summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2018-05-11 18:15:44 +0000
committerMayra Cabrera <mcabrera@gitlab.com>2018-05-14 12:00:34 -0500
commit5eb822d299c57bf3461e5ddca012fc09734169e7 (patch)
tree3b10a2762ade82a896824b8601a23cd5cdf0c5da
parent5d63e91a8387a3faf95eff4ac6f6a28be4a53377 (diff)
downloadgitlab-ce-5eb822d299c57bf3461e5ddca012fc09734169e7.tar.gz
Merge branch 'rd-remove-duplicate-method' into 'master'
Remove duplicate method See merge request gitlab-org/gitlab-ce!18886
-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)