If repository is not accessible on file system, GL outputs full path to repository
Summary
If repository is not accessible on file system, GL outputs full path to repository
Steps to reproduce
if repository is not accessible on FS
- try
git push origin some-branchand you will get
marat@marat-i5:~/Development/GITLAB/gitlab-prometheus$ git push origin alertmanager-slack
fatal: '<SOME PATH>/gitlab-cookbooks/gitlab-prometheus.git' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
- same output from UI
Expected behavior
Path to repo shouldn't be shown
Actual behavior
Path to repo shown
/cc @briann @pcarranza