summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2017-05-05 09:47:54 +0200
committerPatrick Steinhardt <ps@pks.im>2017-05-05 10:41:45 +0200
commit8897f8fe687f11d327be30873480c5d02a6a00a6 (patch)
tree298f46feaecde7e27ef3316ed5dabd09e996044c /include/git2
parentfd2ff8c97d26ac747a40766242d10c9f3c8a9564 (diff)
downloadlibgit2-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