summaryrefslogtreecommitdiff
path: root/src/remote.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Remote: deprecate dangling, prevent saving in-memoryBen Straub2012-12-201-46/+47
|
* Rename remote creation APIsBen Straub2012-12-201-3/+3
| | | | git_remote_add -> git_remote_create git_remote_new -> git_remote_create_inmemory
* Define constant for default fetch specBen Straub2012-12-131-1/+1
|
* Convert clone to use dangling remotesBen Straub2012-12-121-5/+15
|
* API to set a dangling remote's repositoryBen Straub2012-12-121-0/+13
|
* Allow creation of dangling remotesBen Straub2012-12-121-35/+47
|
* Add a payload param to git_cred_acquire_cbBen Straub2012-12-101-4/+5
| | | Fixes #1128.
* Merge pull request #1115 from ben/struct-versionsVicent Martí2012-12-051-1/+7
|\ | | | | Version info for public structs
| * Deploy GITERR_CHECK_VERSIONBen Straub2012-11-301-28/+2
| |
| * Deploy versioned git_transport structureBen Straub2012-11-301-0/+15
| |
| * Deploy GIT_REMOTE_CALLBACKS_INITBen Straub2012-11-301-1/+18
| |
* | remote: deploy EINVALIDSPEC usagenulltoken2012-12-011-26/+41
|/
* Push! By schu, phkelley, and congyiwu, et alPhilip Kelley2012-11-281-10/+69
|
* Typedef enums.Ben Straub2012-11-271-2/+2
|
* API updates for remote.hBen Straub2012-11-271-16/+16
| | | | | Includes typedef for git_direction, and renames for GIT_DIR_[FETCH|PUSH] to GIT_DIRECTION_(\1).
* Clean up config.hBen Straub2012-11-271-2/+2
|
* Rename ref and reflog apis for consistencyBen Straub2012-11-271-3/+3
|
* config: return an emtpy string when there is no valueCarlos Martín Nieto2012-11-131-2/+4
| | | | | | | | | | | | | Returning NULL for the string when we haven't signaled an error condition is counter-intuitive and causes unnecessary edge cases. Return an empty string when asking for a string value for a configuration variable such as '[section] var' to avoid these edge cases. If the distinction between no value and an empty value is needed, this can be retrieved from the entry directly. As a side-effect, this change stops the int parsing functions from segfaulting on such a variable.
* config: distinguish between a lone variable name and one without rhsCarlos Martín Nieto2012-11-131-1/+1
| | | | | | '[section] variable' and '[section] variable =' behave differently when parsed as booleans, so we need to store that distinction internally.
* create FETCH_HEAD specially instead of as a ref fileEdward Thomson2012-11-111-2/+140
|
* Basic authentication for http and winhttpPhilip Kelley2012-11-061-1/+10
|
* 'geterr' -> 'giterr'empty-remote-url-crashJustin Spahr-Summers2012-11-051-1/+1
|
* Set GITERR_INVALID when encountering a NULL remote URLJustin Spahr-Summers2012-11-051-0/+1
|
* Bail out if remote->url would be NULLJustin Spahr-Summers2012-11-041-0/+5
| | | | This fixes a crash from attempting to invoke git__strdup() against NULL.
* Merge pull request #1030 from pwkelley/transportsVicent Martí2012-11-011-53/+76
|\ | | | | Reorganize transport architecture
| * Reorganize transport architecture (squashed 3)Philip Kelley2012-11-011-53/+76
| |
* | Ensure that non-error is not propagatedBen Straub2012-10-311-0/+1
| |
* | Fix a couple of warningsMichael Schubert2012-10-301-1/+1
|/
* Merge pull request #925 from nulltoken/topic/moving-branch-updates-configRussell Belfer2012-10-251-27/+359
|\ | | | | Updates config upon moving and deletion of branches
| * remote: introduce git_remote_rename()nulltoken2012-10-251-0/+285
| |
| * refspec: introduce git_refspec__serialize()nulltoken2012-10-251-7/+4
| |
| * remote: remove some code duplicationnulltoken2012-10-251-27/+48
| |
| * remote: prevent from saving a nameless remotenulltoken2012-10-251-0/+29
| |
* | Remove inline hintBen Straub2012-10-251-1/+1
| |
* | Fix Windows buildBen Straub2012-10-251-1/+1
| | | | | | | | Pedantic ordering of GIT_UNUSED vs. variable declarations.
* | Merge pull request #990 from ben/clone-callbacksVicent Martí2012-10-251-3/+12
|\ \ | |/ |/| Progress callbacks
| * Remove 'bytes' param from git_remote_downloadBen Straub2012-10-241-3/+2
| |
| * 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.
| * Fetch/indexer: progress callbacksBen Straub2012-10-191-2/+6
| |
| * Add accessor for git_remote's stats fieldBen Straub2012-10-191-0/+6
| | | | | | | | Also converted the network example to use it.
| * Add git_indexer_stats field to git_remoteBen Straub2012-10-191-3/+3
| | | | | | | | | | Also removing all the *stats parameters from external APIs that don't need them anymore.
* | Add config level support in the config APIyorah2012-10-231-2/+2
| | | | | | | | | | | | | | Added `struct git_config_entry`: a git_config_entry contains the key, the value, and the config file level from which a config element was found. Added `git_config_open_level`: build a single-level focused config object from a multi-level one. We are now storing `git_config_entry`s in the khash of the config_file
* | Merge pull request #963 from carlosmn/remote-save-autotagVicent Martí2012-10-221-0/+39
|\ \ | |/ |/| Save the autotag configuration for remotes
| * remote: don't auto-follow tags on an unamed remoteCarlos Martín Nieto2012-10-021-0/+5
| | | | | | | | | | | | | | | | An unnamed remote is used for commands like git fetch git://host/repo where no tags should be downloaded. Make this the default.
| * remote: set/unset the autotag setting on saveCarlos Martín Nieto2012-10-021-0/+34
| | | | | | | | | | Make the configuration option match the configured behavior when saving a remote.
* | remote: support fetch cancelationCarlos Martín Nieto2012-10-181-0/+5
| | | | | | | | | | | | 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.
* | remote: only keep a weak pointer in update_tipsCarlos Martín Nieto2012-10-071-1/+1
|/ | | | | | The reference is only needed inside the function. We mistakenly increased the reference counter causing the ODB not to get freed and leaking descriptors.
* remote: Fix mid-block declarationVicent Marti2012-10-011-1/+1
|
* remote: support downloading all tagsCarlos Martín Nieto2012-09-301-3/+6
| | | | Also honor remote.$name.tagopt = --tags.
* remote: use the refspec functions to parse, instead of rolling our ownCarlos Martín Nieto2012-09-301-37/+9
| | | | | The local function works for simple cases, but we shouldn't reinvent the wheel just for us.