Support literal path lookups in other commit RPCs
Files that contained glob characters (e.g. :wq
) would not be viewable
in GitLab because Gitaly attempted to use the path as a search pattern
instead of interpreting the tree as a literal pathname. Just as we fixed
this in !2285 (merged) for
LastCommitForPath, we need to add support for passing the Git
--literal-pathspecs
argument for the following RPCs:
- FindCommits
- CommitsByMessage
- CountCommits