summaryrefslogtreecommitdiff
path: root/include/git2/net.h
Commit message (Collapse)AuthorAgeFilesLines
* net: remove unused `git_headlist_cb`ethomson/deprecate_headlistEdward Thomson2019-06-161-5/+0
|
* Introduce GIT_CALLBACK macro to enforce cdeclEdward Thomson2019-01-171-1/+1
| | | | | | | | | Since we now always build the library with cdecl calling conventions, our callbacks should be decorated as such so that users will not be able to provide callbacks defined with other calling conventions. The `GIT_CALLBACK` macro will inject the `__cdecl` attribute as appropriate.
* doc: add documentation to all the public structs and enumscmn/doc-allCarlos Martín Nieto2014-12-061-2/+3
| | | | | | | | | | This makes them show up in the reference, even if the text itself isn't the most descriptive. These have been found with grep -Przon '\n\ntypedef struct.*?\{' -- include grep -Przon '\n\ntypedef enum.*?\{' -- include
* Update some documentationCarlos Martín Nieto2014-10-181-2/+2
|
* remote: expose the remote's symref mappingsCarlos Martín Nieto2014-05-211-0/+5
| | | | | Add a symref_target field to git_remote_head to expose the symref mappings to the user.
* No bitfields in public headers b/c packing is compiler-specificPhilip Kelley2013-02-071-1/+1
|
* update copyrightsEdward Thomson2013-01-081-1/+1
|
* API updates for remote.hBen Straub2012-11-271-2/+4
| | | | | Includes typedef for git_direction, and renames for GIT_DIR_[FETCH|PUSH] to GIT_DIRECTION_(\1).
* API updates for net.hBen Straub2012-11-271-3/+3
|
* Update Copyright headerschu2012-02-131-1/+1
| | | | Signed-off-by: schu <schu-github@schulog.org>
* remote: Cleanup the remotes coderepo-ownershipVicent Marti2011-11-281-5/+3
| | | | | | - Hide the remaining transports code - Drop `git_headarray`, switch to using a callback to list refs. Makes the code cleaner.
* Cleanup legal dataVicent Marti2011-09-191-21/+3
| | | | | | | | | | 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.
* Be smarter about selecting wantsCarlos Martín Nieto2011-08-181-2/+1
| | | | | | | There is no need to inspect what the local repository is like. Only check whether the objects exist locally. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
* Remove enum git_whnCarlos Martín Nieto2011-08-181-8/+2
| | | | | | Instead, use flags inside the git_remote_head structure. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
* negotiationCarlos Martín Nieto2011-08-181-0/+2
|
* Add git_fetch_list_want which creates the "want" listCarlos Martín Nieto2011-08-181-0/+7
| | | | Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
* Fixup network headersCarlos Martín Nieto2011-07-271-9/+9
| | | | | | The network headers were still missing some formalities. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
* On some header files, GIT_END_DECL was absent while GIT_BEGIN_DECL wasn't.Johan 't Hart2011-07-271-0/+2
|
* Cleanup external APIVicent Marti2011-07-111-2/+36
| | | | | 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-4/+2
| | | | | | | | 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 function to generate a requestCarlos Martín Nieto2011-06-261-0/+2
| | | | | | Add git_pkt_gen_proto to crete a request from an url. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
* Implement ls-remote on local driveCarlos Martín Nieto2011-06-261-1/+1
| | | | Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
* Lay down the fundations for the network codeCarlos Martín Nieto2011-06-261-0/+33
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>