diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-11-02 16:39:24 +0100 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-11-02 16:39:24 +0100 |
commit | 810c91fe35db6a83c9c517e03d07dc1795922646 (patch) | |
tree | 009f34d5e515e38cc5b31b5b8620a8d8e504d6ec /lib | |
parent | a0d0a0179134c16c84dfa18da9db78b375cd7cd0 (diff) | |
download | gitlab-ce-olhado/gitlab-ce-commit-search.tar.gz |
Refactor search by commits messageolhado/gitlab-ce-commit-search
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/project_search_results.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/project_search_results.rb b/lib/gitlab/project_search_results.rb index 54389f7d662..c873ef3771e 100644 --- a/lib/gitlab/project_search_results.rb +++ b/lib/gitlab/project_search_results.rb @@ -77,7 +77,7 @@ module Gitlab end def commits - project.repository.find_commits_with_matching_log(query) + project.repository.find_commits_by_message(query) end def limit_project_ids |