summaryrefslogtreecommitdiff
path: root/include/git2/remote.h
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* | Add git_indexer_stats field to git_remoteBen Straub2012-10-191-1/+1
|/ | | | | Also removing all the *stats parameters from external APIs that don't need them anymore.
* remote: support fetch cancelationCarlos Martín Nieto2012-10-181-0/+8
| | | | | | Introduce git_remote_stop() which sets a variable that is checked by the fetch process in a few key places. If this is variable is set, the fetch is aborted.
* Separated git_strarray from common.h. Added doxy comments.Paul Thompson2012-10-111-0/+1
|
* remote: support downloading all tagsCarlos Martín Nieto2012-09-301-1/+2
| | | | Also honor remote.$name.tagopt = --tags.
* remote: add accessors for the autotag settingCarlos Martín Nieto2012-09-301-0/+17
|
* fetch: use the include-tag capabilityCarlos Martín Nieto2012-09-301-0/+6
| | | | | This tells the remote to send us any tags that point to objects that we are downloading.
* network: add sideband supportCarlos Martín Nieto2012-08-241-1/+1
| | | | | This lets us notify the user of what the remote end is doing while we wait for it to start sending us the packfile.
* Merge remote-tracking branch 'arrbee/tree-walk-fixes' into developmentVicent Marti2012-08-061-1/+4
|\ | | | | | | | | | | | | | | | | Conflicts: src/notes.c src/transports/git.c src/transports/http.c src/transports/local.c tests-clar/odb/foreach.c
| * Update iterators for consistency across libraryRussell Belfer2012-08-031-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This updates all the `foreach()` type functions across the library that take callbacks from the user to have a consistent behavior. The rules are: * A callback terminates the loop by returning any non-zero value * Once the callback returns non-zero, it will not be called again (i.e. the loop stops all iteration regardless of state) * If the callback returns non-zero, the parent fn returns GIT_EUSER * Although the parent returns GIT_EUSER, no error will be set in the library and `giterr_last()` will return NULL if called. This commit makes those changes across the library and adds tests for most of the iteration APIs to make sure that they follow the above rules.
* | Merge pull request #834 from carlosmn/network-callbacksVicent Martí2012-07-271-1/+34
|\ \ | | | | | | Add a struct for network callbacks
| * | Add a struct for network callbacksCarlos Martín Nieto2012-07-211-1/+34
| |/ | | | | | | | | Currently only update_tips is used, but it prepares the way for progress output during download.
* | Remotes: Setter for url+pushurl; Getter for pushurlSascha Cunz2012-07-261-0/+30
|/
* Merge pull request #697 from carlosmn/sslVicent Martí2012-06-051-0/+9
|\ | | | | Add HTTPS support
| * ssl: allow skipping the server certificate checkCarlos Martín Nieto2012-05-261-0/+9
| | | | | | | | | | Sometimes it's useful not to perform the check. Allow it to be configurable.
* | Fix spelling errors.Bruce Mitchener2012-05-191-4/+4
|/
* errors: Rename the generic return codesVicent Martí2012-05-181-9/+9
|
* remotes: change git_remote_new's signatureCarlos Martín Nieto2012-05-081-2/+3
| | | | | Add a fetch refspec arguemnt and make the arguments (name, url, refspec), as that order makes more sense.
* remote: add git_remote_add()Carlos Martín Nieto2012-05-081-0/+10
| | | | Helper function to create a remote with the default settings
* Merge branch 'new-error-handling' into developmentVicent Martí2012-05-021-5/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .travis.yml include/git2/diff.h src/config_file.c src/diff.c src/diff_output.c src/mwindow.c src/path.c tests-clar/clar_helpers.c tests-clar/object/tree/frompath.c tests/t00-core.c tests/t03-objwrite.c tests/t08-tag.c tests/t10-refs.c tests/t12-repo.c tests/t18-status.c tests/test_helpers.c tests/test_main.c
| * remote: add more doc on git_remote_freeMichael Schubert2012-04-281-0/+3
| |
| * remote: run a callback when updating the branch tipsCarlos Martín Nieto2012-04-251-4/+2
| | | | | | | | | | | | | | | | This allows the caller to update an internal structure or update the user output with the tips that were updated. While in the area, only try to update the ref if the value is different from its old one.
| * transports: buffer the git requests before sending themCarlos Martín Nieto2012-04-251-0/+1
| | | | | | | | | | | | Trying to send every single line immediately won't give us any speed improvement and duplicates the code we need for other transports. Make the git transport use the same buffer functions as HTTP.
| * fetch: use the streaming indexer when downloading a packCarlos Martín Nieto2012-04-251-1/+1
| | | | | | | | | | | | | | | | This changes the git_remote_download() API, but the existing one is silly, so you don't get to complain. The new API allows to know how much data has been downloaded, how many objects we expect in total and how many we've processed.
* | Make git_remote_supported_url() public and shorten error stringCarlos Martín Nieto2012-03-051-0/+8
|/
* Add git_remote_list()Carlos Martín Nieto2012-02-261-0/+11
| | | | | Loops through the configuration and generates a list of configured remotes.
* Add git_remote_save()Carlos Martín Nieto2012-02-201-0/+8
|
* Add git_remote_set_{fetch,push}spec()Carlos Martín Nieto2012-02-201-0/+18
| | | | | Allow setting the fetch and push refspecs, which is useful for creating new refspecs.