Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 'geterr' -> 'giterr'empty-remote-url-crash | Justin Spahr-Summers | 2012-11-05 | 1 | -1/+1 |
| | |||||
* | Set GITERR_INVALID when encountering a NULL remote URL | Justin Spahr-Summers | 2012-11-05 | 1 | -0/+1 |
| | |||||
* | Bail out if remote->url would be NULL | Justin Spahr-Summers | 2012-11-04 | 1 | -0/+5 |
| | | | | This fixes a crash from attempting to invoke git__strdup() against NULL. | ||||
* | Merge pull request #1030 from pwkelley/transports | Vicent Martí | 2012-11-01 | 1 | -53/+76 |
|\ | | | | | Reorganize transport architecture | ||||
| * | Reorganize transport architecture (squashed 3) | Philip Kelley | 2012-11-01 | 1 | -53/+76 |
| | | |||||
* | | Ensure that non-error is not propagated | Ben Straub | 2012-10-31 | 1 | -0/+1 |
| | | |||||
* | | Fix a couple of warnings | Michael Schubert | 2012-10-30 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #925 from nulltoken/topic/moving-branch-updates-config | Russell Belfer | 2012-10-25 | 1 | -27/+359 |
|\ | | | | | Updates config upon moving and deletion of branches | ||||
| * | remote: introduce git_remote_rename() | nulltoken | 2012-10-25 | 1 | -0/+285 |
| | | |||||
| * | refspec: introduce git_refspec__serialize() | nulltoken | 2012-10-25 | 1 | -7/+4 |
| | | |||||
| * | remote: remove some code duplication | nulltoken | 2012-10-25 | 1 | -27/+48 |
| | | |||||
| * | remote: prevent from saving a nameless remote | nulltoken | 2012-10-25 | 1 | -0/+29 |
| | | |||||
* | | Remove inline hint | Ben Straub | 2012-10-25 | 1 | -1/+1 |
| | | |||||
* | | Fix Windows build | Ben Straub | 2012-10-25 | 1 | -1/+1 |
| | | | | | | | | Pedantic ordering of GIT_UNUSED vs. variable declarations. | ||||
* | | Merge pull request #990 from ben/clone-callbacks | Vicent Martí | 2012-10-25 | 1 | -3/+12 |
|\ \ | |/ |/| | Progress callbacks | ||||
| * | Remove 'bytes' param from git_remote_download | Ben Straub | 2012-10-24 | 1 | -3/+2 |
| | | |||||
| * | Network progress: rename things | Ben Straub | 2012-10-24 | 1 | -2/+2 |
| | | | | | | | | | | | | | | git_indexer_stats and friends -> git_transfer_progress* Also made git_transfer_progress members more sanely named. | ||||
| * | Fetch/indexer: progress callbacks | Ben Straub | 2012-10-19 | 1 | -2/+6 |
| | | |||||
| * | Add accessor for git_remote's stats field | Ben Straub | 2012-10-19 | 1 | -0/+6 |
| | | | | | | | | Also converted the network example to use it. | ||||
| * | Add git_indexer_stats field to git_remote | Ben Straub | 2012-10-19 | 1 | -3/+3 |
| | | | | | | | | | | Also removing all the *stats parameters from external APIs that don't need them anymore. | ||||
* | | Add config level support in the config API | yorah | 2012-10-23 | 1 | -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-autotag | Vicent Martí | 2012-10-22 | 1 | -0/+39 |
|\ \ | |/ |/| | Save the autotag configuration for remotes | ||||
| * | remote: don't auto-follow tags on an unamed remote | Carlos Martín Nieto | 2012-10-02 | 1 | -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 save | Carlos Martín Nieto | 2012-10-02 | 1 | -0/+34 |
| | | | | | | | | | | Make the configuration option match the configured behavior when saving a remote. | ||||
* | | remote: support fetch cancelation | Carlos Martín Nieto | 2012-10-18 | 1 | -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_tips | Carlos Martín Nieto | 2012-10-07 | 1 | -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 declaration | Vicent Marti | 2012-10-01 | 1 | -1/+1 |
| | |||||
* | remote: support downloading all tags | Carlos Martín Nieto | 2012-09-30 | 1 | -3/+6 |
| | | | | Also honor remote.$name.tagopt = --tags. | ||||
* | remote: use the refspec functions to parse, instead of rolling our own | Carlos Martín Nieto | 2012-09-30 | 1 | -37/+9 |
| | | | | | The local function works for simple cases, but we shouldn't reinvent the wheel just for us. | ||||
* | remote: add accessors for the autotag setting | Carlos Martín Nieto | 2012-09-30 | 1 | -0/+10 |
| | |||||
* | remote: create tags if we have them | Carlos Martín Nieto | 2012-09-30 | 1 | -7/+48 |
| | | | | | | Together with include-tag, this make us behave more like git. After a fetch, try to create any tags the remote told us about for which we have objects locally. | ||||
* | fetch: use the include-tag capability | Carlos Martín Nieto | 2012-09-30 | 1 | -0/+28 |
| | | | | | This tells the remote to send us any tags that point to objects that we are downloading. | ||||
* | refspec: add git_refspec__free, remove git_refspec_parse | Carlos Martín Nieto | 2012-09-30 | 1 | -4/+2 |
| | | | | | | | The latter shouldn't be exposed and isn't used, git_refspec__parse supersedes it. Fix a leak in the refspec tests while we're at it. | ||||
* | network: add sideband support | Carlos Martín Nieto | 2012-08-24 | 1 | -0/+8 |
| | | | | | This lets us notify the user of what the remote end is doing while we wait for it to start sending us the packfile. | ||||
* | oid: Explicitly include `oid.h` for the inlined CMP | Vicent Marti | 2012-08-09 | 1 | -0/+1 |
| | |||||
* | Fix iterator check and return value | Russell Belfer | 2012-08-06 | 1 | -1/+6 |
| | | | | | | | | | There is a little cleanup necessary from PR #843. Since the new callbacks return `GIT_EUSER` we have to be a little careful about return values when they are used internally to the library. Also, callbacks should be checked for non-zero return values, not just less than zero. | ||||
* | remotes: Proper return for `git_remote_ls` | Vicent Marti | 2012-08-06 | 1 | -4/+2 |
| | |||||
* | remote: add missing include git2/remote.h | Michael Schubert | 2012-08-04 | 1 | -1/+0 |
| | | | | | Otherwise we get an incomplete type error, since git_remote_callbacks isn't declared yet. | ||||
* | transport: store the refs in a common area | Carlos Martín Nieto | 2012-07-30 | 1 | -1/+20 |
| | | | | | | | | Instad of each transport having its own function and logic to get to its refs, store them directly in transport. Leverage the new gitno_buffer to make the parsing and storing of the refs use common code and get rid of the git_protocol struct. | ||||
* | Merge pull request #834 from carlosmn/network-callbacks | Vicent Martí | 2012-07-27 | 1 | -3/+10 |
|\ | | | | | Add a struct for network callbacks | ||||
| * | Add a struct for network callbacks | Carlos Martín Nieto | 2012-07-21 | 1 | -3/+10 |
| | | | | | | | | | | Currently only update_tips is used, but it prepares the way for progress output during download. | ||||
* | | remote: fix C99-ism | Carlos Martín Nieto | 2012-07-27 | 1 | -1/+2 |
| | | |||||
* | | Remotes: Use correct url in git_remote_connect | Sascha Cunz | 2012-07-27 | 1 | -1/+20 |
| | | |||||
* | | Remotes: Save a cleaned pushurl (by deleting it from the config) | Sascha Cunz | 2012-07-27 | 1 | -4/+13 |
| | | |||||
* | | Remotes: Setter for url+pushurl; Getter for pushurl | Sascha Cunz | 2012-07-26 | 1 | -0/+32 |
| | | |||||
* | | Remotes: Load/Save for fetch.foo.pushurl | Sascha Cunz | 2012-07-26 | 1 | -0/+32 |
| | | |||||
* | | Remove unneccessary string transformation | Sascha Cunz | 2012-07-26 | 1 | -1/+1 |
| | | |||||
* | | update_tips: report error if it fails to create a ref | Carlos Martín Nieto | 2012-07-24 | 1 | -1/+1 |
|/ | |||||
* | misc: Fix warnings from PVS Studio trial | Vicent Martí | 2012-06-07 | 1 | -2/+5 |
| | |||||
* | Merge pull request #697 from carlosmn/ssl | Vicent Martí | 2012-06-05 | 1 | -0/+10 |
|\ | | | | | Add HTTPS support |