summaryrefslogtreecommitdiff
path: root/tests/network/remote/delete.c
Commit message (Collapse)AuthorAgeFilesLines
* remote: accept a repository and remote name for deletioncmn/remote-delete-nameCarlos Martín Nieto2014-09-301-18/+3
| | | | | | | | We don't need the remote loaded, and the function extracted both of these from the git_remote in order to do its work, so let's remote a step and not ask for the loaded remote at all. This fixes #2390.
* remote: don't free the remote on deletecmn/remote-rename-moreCarlos Martín Nieto2014-06-061-1/+1
| | | | This was a bad idea. Don't free except in the free function.
* remote: remove remote-tracking branches on deleteCarlos Martín Nieto2014-05-161-4/+8
| | | | | When we delete a remote, we also need to go through its fetch refspecs and remove the references they create locally.
* remote: Introduce git_remote_delete()nulltoken2014-04-301-0/+57