Stop finding commit with empty ref
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.
Showing
Please register or sign in to comment