summaryrefslogtreecommitdiff
path: root/include/git2/remote.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove leftover function declarationCarlos Martín Nieto2013-10-301-15/+0
|
* transport: let the progress output return an errorCarlos Martín Nieto2013-10-231-1/+1
| | | | | There are any number of issues that can come up in the progress callback, and we should let the user cancel at that point as well.
* clone: put the callbacks struct directly in the clone optionsCarlos Martín Nieto2013-10-021-1/+1
| | | | There's no need for this to be a pointer to somewhere else.
* remote: add some comments to the callback structCarlos Martín Nieto2013-10-021-1/+33
| | | | Hopefully clear up what they're for.
* remote: add a convenience 'fetch' function.Carlos Martín Nieto2013-10-021-0/+11
|
* remote: move the credentials callback to the structCarlos Martín Nieto2013-10-021-0/+1
| | | | | Move this one as well, letting us have a single way of setting the callbacks for the remote, and removing fields from the clone options.
* remote: put the _download() callback with the othersCarlos Martín Nieto2013-10-021-9/+2
| | | | | | The text progress and update_tips callbacks are already part of the struct, which was meant to unify the callback setup, but the download one was left out.
* remote: fix git_remote_download() documentationCarlos Martín Nieto2013-07-231-13/+7
| | | | | | | | The description of what the function does hasn't been true for quite a while. Change it to reflect the way it currently works. While here, remove an even older comment about missing features that have been implemented.
* Add `git_remote_owner`Etienne Samson2013-07-151-0/+8
|
* Fixed most documentation header bugsAndreas Linde2013-06-241-2/+2
| | | | | | | | | | | Fixed a few header @param and @return typos with the help of -Wdocumentation in Xcode. The following warnings have not been fixed: common.h:213 - Not sure how the documentation format is for '...' notes.h:102 - Correct @param name but empty text notes.h:111 - Correct @param name but empty text pack.h:140 - @return missing text pack.h:148 - @return missing text
* Proposal to handle default value (auto = 0)yorah2013-05-301-4/+3
|
* remote: add resfpec list accessorsCarlos Martín Nieto2013-04-301-0/+26
| | | | | | Bring back a way of acessing the git_refspec* from a remote. Closes #1514
* remove git_remote_pushspecNikolai Vladimirov2013-04-231-9/+0
|
* remote: allow querying for refspecsCarlos Martín Nieto2013-04-201-2/+24
| | | | | | | | Introduce git_remote_{fetch,push}_refspecs() to get a list of refspecs from the remote and rename the refspec-adding functions to a less silly name. Use this instead of the vector index hacks in the tests.
* remote: handle multiple refspecsCarlos Martín Nieto2013-04-201-14/+15
| | | | | | | | | | | | | A remote can have a multitude of refspecs. Up to now our git_remote's have supported a single one for each fetch and push out of simplicity to get something working. Let the remotes and internal code know about multiple remotes and get the tests passing with them. Instead of setting a refspec, the external users can clear all and add refspecs. This should be enough for most uses, though we're still missing a querying function.
* remote: specify what values direction can mean in git_remote_connect()Carlos Martín Nieto2013-04-191-1/+2
| | | | This fixes #1487
* remote: Introduce git_remote_is_valid_name()nulltoken2013-02-111-0/+8
| | | | Fix libgit2/libgit2sharp#318
* Kill vestigal dangling-remote codeBen Straub2013-01-111-11/+1
| | | Fixes #1232
* update copyrightsEdward Thomson2013-01-081-1/+1
|
* Move `url` to last place in parameter listBen Straub2013-01-021-3/+3
|
* remote: Prevent create() from blindly overwritingnulltoken2012-12-241-1/+1
|
* remote: Improve documentationnulltoken2012-12-241-4/+6
|
* remote: Enhance in-memory remote test coveragenulltoken2012-12-241-1/+1
|
* In-memory remotes don't have namesBen Straub2012-12-211-2/+0
|
* git_remote_create calls git_remote_saveBen Straub2012-12-201-2/+4
|
* Remote: deprecate dangling, prevent saving in-memoryBen Straub2012-12-201-8/+0
|
* Rename remote creation APIsBen Straub2012-12-201-13/+22
| | | | git_remote_add -> git_remote_create git_remote_new -> git_remote_create_inmemory
* Define constant for default fetch specBen Straub2012-12-131-0/+8
|
* API to set a dangling remote's repositoryBen Straub2012-12-121-0/+10
|
* Allow creation of dangling remotesBen Straub2012-12-121-3/+3
|
* Add a payload param to git_cred_acquire_cbBen Straub2012-12-101-1/+2
| | | Fixes #1128.
* Allow compilation as C++Ben Straub2012-12-061-1/+1
|
* Merge pull request #1115 from ben/struct-versionsVicent Martí2012-12-051-1/+6
|\ | | | | Version info for public structs
| * Deploy GIT_REMOTE_CALLBACKS_INITBen Straub2012-11-301-1/+2
| |
| * Add version fields and init macros for public input structs.Ben Straub2012-11-301-0/+4
| |
* | remote: deploy EINVALIDSPEC usagenulltoken2012-12-011-5/+17
|/
* Typedef enums.Ben Straub2012-11-271-4/+6
|
* API updates for remote.hBen Straub2012-11-271-11/+12
| | | | | Includes typedef for git_direction, and renames for GIT_DIR_[FETCH|PUSH] to GIT_DIRECTION_(\1).
* create FETCH_HEAD specially instead of as a ref fileEdward Thomson2012-11-111-0/+17
|
* Update documentation in remote.hBrian Schroeder2012-11-081-4/+11
|
* Basic authentication for http and winhttpPhilip Kelley2012-11-061-1/+16
|
* Reorganize transport architecture (squashed 3)Philip Kelley2012-11-011-1/+14
|
* Merge pull request #925 from nulltoken/topic/moving-branch-updates-configRussell Belfer2012-10-251-0/+18
|\ | | | | Updates config upon moving and deletion of branches
| * remote: introduce git_remote_rename()nulltoken2012-10-251-0/+18
| |
* | Remove 'bytes' param from git_remote_downloadBen Straub2012-10-241-3/+0
| |
* | Network progress: rename thingsBen Straub2012-10-241-2/+2
| | | | | | | | | | | | | | git_indexer_stats and friends -> git_transfer_progress* Also made git_transfer_progress members more sanely named.
* | Fix documentation commentBen Straub2012-10-241-1/+2
| |
* | Update doc strings, warn about callback perfBen Straub2012-10-231-1/+3
| |
* | Fetch/indexer: progress callbacksBen Straub2012-10-191-1/+7
| |
* | Add accessor for git_remote's stats fieldBen Straub2012-10-191-0/+5
| | | | | | | | Also converted the network example to use it.