Host detection skipped for `status`
git lab status
does not check if the host is GitLab.com
or a configured host in ~/.gitlab
which results in situations where we use the GitHub domain and try to call GitLab APIs
GET https://github.com/api/v4/projects/jamesramsay/dotfiles/repository/commits/a2addef688d4b7837f222a0967c8268cebc72faa: 404 {error: Not Found}
Steps to reproduce
- Run
git lab status
in a repository with only a GitHub.com remote
Edited by James Ramsay (ex-GitLab)