• Bob Van Landuyt's avatar
    Fall back to project repository type by default · 2fdda744
    Bob Van Landuyt authored
    This makes sure that we always have a repository type when trying to
    parse a repository from a path.
    
    This is needed because sometimes we want to perform access checks as
    if the project already existed, for example when creating a project on
    push.
    
    Before this we were only doing that when accessing git over http, this
    makes sure it also works correctly when accessing git over SSH
    2fdda744
repo_path.rb 1.5 KB