cli/git
Alex Petrov 7d4ab65af3
fix: correctly set ErrNotOnAnyBranch error in git client (#7082)
Before, git client was not correctly setting `ErrNotOnAnyBranch` error.
Because of that, `gh pr status` was not functioning correctly when run
from the detached HEAD. This commit fixes that.

Fixes #7051
2023-03-06 09:16:29 +11:00
..
fixtures Refactor code to live inside default pkg 2022-05-18 08:40:30 +02:00
client.go fix: correctly set ErrNotOnAnyBranch error in git client (#7082) 2023-03-06 09:16:29 +11:00
client_test.go Avoid implicitly fetching when adding a new git remote (#6990) 2023-02-07 21:22:02 +00:00
command.go Use git client in extension manager (#6547) 2022-11-10 11:38:12 +02:00
errors.go Refactor git client and add tests (#6525) 2022-11-03 11:58:38 +01:00
objects.go Create git client (#6354) 2022-10-14 07:47:03 +00:00
url.go Fixes #4346: allow git+https URL protocol 2021-09-20 19:35:06 +03:00
url_test.go Fixes #4346: allow git+https URL protocol 2021-09-20 19:35:06 +03:00