Add support for 'all' option in FindCommits
Option was introduced in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/17182.
The goal is to get rid of && !options[:all]
in Gitlab::Git::Repository#log.
gitaly_migrate(:find_commits) do |is_enabled|
if is_enabled
if is_enabled && !options[:all]
Also make sure the all
option is properly covered by tests. It is only tested in the rugged path in spec/lib/gitlab/git now.
Edited by Jacob Vosmaer