• Patrick Bajao's avatar
    Stop finding commit with empty ref · 469d8c66
    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
extracts_path_spec.rb 4.2 KB