diff options
| author | Patrick Steinhardt <ps@pks.im> | 2017-05-05 09:47:54 +0200 |
|---|---|---|
| committer | Patrick Steinhardt <ps@pks.im> | 2017-05-05 10:41:45 +0200 |
| commit | 8897f8fe687f11d327be30873480c5d02a6a00a6 (patch) | |
| tree | 298f46feaecde7e27ef3316ed5dabd09e996044c /include/git2 | |
| parent | fd2ff8c97d26ac747a40766242d10c9f3c8a9564 (diff) | |
| download | libgit2-8897f8fe687f11d327be30873480c5d02a6a00a6.tar.gz | |
remote: reject various actions for detached remotes
There are only few actions which actually make sense for a detached
remote, like e.g. `git_remote_ls`, `git_remote_prune`. For all the other
actions, we have to report an error when the remote has no repository
attached to it. This commit does so and implements some tests.
Diffstat (limited to 'include/git2')
0 files changed, 0 insertions, 0 deletions
