Skip to content

Support literal path lookups in other commit RPCs

Stan Hu requested to merge sh-literal-pathspecs-other-commit-rpcs into master

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:

  1. FindCommits
  2. CommitsByMessage
  3. CountCommits

Merge request reports

Loading