cli/git
Mislav Marohnić 8df1e9946f
repo set-default: support bare git repos
The command was using this to check for git repo context:

    git rev-parse --is-inside-work-tree

With this change, this is used instead:

    git rev-parse --git-dir

The latter approach works in the context of a bare git repository, which does not have a worktree.
2023-01-18 20:45:12 +01:00
..
fixtures Add live tests for some methods in the git package 2021-02-24 15:05:56 +01:00
client.go repo set-default: support bare git repos 2023-01-18 20:45:12 +01:00
client_test.go Authenticate network git commands (#6541) 2022-11-15 13:14:37 +02: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