• 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_ref_spec.rb 1.01 KB