-
Patrick Bajao authored
When `Projects::RefsController#switch` is requested without `ref` and `path` params, internally, GitLab still tries to make a request for `FindCommit` RPC with empty ref. We don't need to do that as we won't be able to find a commit with empty ref.
469d8c66