summaryrefslogtreecommitdiff
path: root/include/git2/remote.h
Commit message (Collapse)AuthorAgeFilesLines
* Add a note not to free the result from git_remote_lsCarlos Martín Nieto2011-11-221-1/+2
|
* Add git_remote_connectedCarlos Martín Nieto2011-11-211-0/+10
| | | | Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
* Add git_remote_disconnectCarlos Martín Nieto2011-11-211-0/+10
| | | | | | | It can be useful to separate disconnecting from actually destroying the object. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
* Add a name to a remote created from the APICarlos Martín Nieto2011-11-181-3/+5
| | | | | | Make it a bit more resilient. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
* remote: get rid of git_remote_negotiateCarlos Martín Nieto2011-11-181-12/+5
| | | | | | | There is no good reason to expose the negotiation as a different step to downloading the packfile. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
* include: Unify internal include strategiesVicent Marti2011-11-181-3/+3
| | | | | Do not add the `git2` path to internal includes, or that will cause an extra path dependency.
* Cleanup legal dataVicent Marti2011-09-191-22/+4
| | | | | | | | | | 1. The license header is technically not valid if it doesn't have a copyright signature. 2. The COPYING file has been updated with the different licenses used in the project. 3. The full GPLv2 header in each file annoys me.
* Standardized doxygen @return lines for int functions to say "GIT_SUCCESS or ↵David Boyce2011-09-131-2/+2
| | | | an error code".
* Add git_remote_newCarlos Martín Nieto2011-08-301-0/+12
| | | | | | | As we no longer expose the transport functions, this is now the only way to connect to a remote when given an URL instead of a remote name Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
* Add git_remote_update_tipsCarlos Martín Nieto2011-08-181-0/+10
| | | | | | | This function updates the references in the local reference storage to match the ones in the remote. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
* Only wait for pack if we need itCarlos Martín Nieto2011-08-181-0/+14
| | | | | | | Provide the git_remote_download function to instruct the library to downlad the packfile and let the user know the temporary location. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
* Don't expose the fetch code to the userCarlos Martín Nieto2011-08-181-1/+12
| | | | | | | | Move the generation of the want-list to be done from the negotiate function, and keep the filtered references inside the remote structure. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
* Fix compilation in C++: remove double GIT_BEGIN_DECLMarcel Groothuis2011-07-291-9/+0
|
* Fixup network headersCarlos Martín Nieto2011-07-271-1/+9
| | | | | | The network headers were still missing some formalities. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
* typo: one git_remote_fetchspec should be pushspecCarlos Martín Nieto2011-07-131-1/+1
| | | | Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
* Cleanup external APIVicent Marti2011-07-111-0/+35
| | | | | Some of the WIP API calls have been hidden in preparation for the next minor release.
* Slim down git_transportCarlos Martín Nieto2011-06-271-1/+1
| | | | | | | | Remove the unused repo and private pointers and make the direction a flag, as it can only have two states. Change the connect signature to use an int instead of git_net_direction and remove that enum. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
* Add git_remote_connect and git_remote_lsCarlos Martín Nieto2011-06-271-0/+21
| | | | | | | These allow you to implement git-ls-remote when given a reference name and a repository. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
* Add a to-do list for remotesCarlos Martín Nieto2011-06-261-0/+8
| | | | Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
* Add a remotes APICarlos Martín Nieto2011-06-261-0/+58
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>