• Jacob Vosmaer's avatar
    Add missing 'require_relative' in gitlab_net.rb · 792d686d
    Jacob Vosmaer authored
    Without this 'require' statement, you get the following error:
    
    ```
    $ git ls-remote origin
    /home/git/gitlab-shell/lib/gitlab_net.rb:30:in `check_access':
    uninitialized constant GitlabNet::GitAccessStatus (NameError)
      from /home/git/gitlab-shell/lib/gitlab_shell.rb:63:in `validate_access'
      from /home/git/gitlab-shell/lib/gitlab_shell.rb:24:in `exec'
      from /home/git/gitlab-shell/bin/gitlab-shell:16:in `<main>'
    fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights
    and the repository exists.
    ```
    792d686d
gitlab_net.rb 3.21 KB