Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Define constant for default fetch spec | Ben Straub | 2012-12-13 | 1 | -0/+8 | |
| | ||||||
* | API to set a dangling remote's repository | Ben Straub | 2012-12-12 | 1 | -0/+10 | |
| | ||||||
* | Allow creation of dangling remotes | Ben Straub | 2012-12-12 | 1 | -3/+3 | |
| | ||||||
* | Add a payload param to git_cred_acquire_cb | Ben Straub | 2012-12-10 | 1 | -1/+2 | |
| | | | Fixes #1128. | |||||
* | Allow compilation as C++ | Ben Straub | 2012-12-06 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #1115 from ben/struct-versions | Vicent Martí | 2012-12-05 | 1 | -1/+6 | |
|\ | | | | | Version info for public structs | |||||
| * | Deploy GIT_REMOTE_CALLBACKS_INIT | Ben Straub | 2012-11-30 | 1 | -1/+2 | |
| | | ||||||
| * | Add version fields and init macros for public input structs. | Ben Straub | 2012-11-30 | 1 | -0/+4 | |
| | | ||||||
* | | remote: deploy EINVALIDSPEC usage | nulltoken | 2012-12-01 | 1 | -5/+17 | |
|/ | ||||||
* | Typedef enums. | Ben Straub | 2012-11-27 | 1 | -4/+6 | |
| | ||||||
* | API updates for remote.h | Ben Straub | 2012-11-27 | 1 | -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 file | Edward Thomson | 2012-11-11 | 1 | -0/+17 | |
| | ||||||
* | Update documentation in remote.h | Brian Schroeder | 2012-11-08 | 1 | -4/+11 | |
| | ||||||
* | Basic authentication for http and winhttp | Philip Kelley | 2012-11-06 | 1 | -1/+16 | |
| | ||||||
* | Reorganize transport architecture (squashed 3) | Philip Kelley | 2012-11-01 | 1 | -1/+14 | |
| | ||||||
* | Merge pull request #925 from nulltoken/topic/moving-branch-updates-config | Russell Belfer | 2012-10-25 | 1 | -0/+18 | |
|\ | | | | | Updates config upon moving and deletion of branches | |||||
| * | remote: introduce git_remote_rename() | nulltoken | 2012-10-25 | 1 | -0/+18 | |
| | | ||||||
* | | Remove 'bytes' param from git_remote_download | Ben Straub | 2012-10-24 | 1 | -3/+0 | |
| | | ||||||
* | | 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. | |||||
* | | Fix documentation comment | Ben Straub | 2012-10-24 | 1 | -1/+2 | |
| | | ||||||
* | | Update doc strings, warn about callback perf | Ben Straub | 2012-10-23 | 1 | -1/+3 | |
| | | ||||||
* | | Fetch/indexer: progress callbacks | Ben Straub | 2012-10-19 | 1 | -1/+7 | |
| | | ||||||
* | | Add accessor for git_remote's stats field | Ben Straub | 2012-10-19 | 1 | -0/+5 | |
| | | | | | | | | Also converted the network example to use it. | |||||
* | | Add git_indexer_stats field to git_remote | Ben Straub | 2012-10-19 | 1 | -1/+1 | |
|/ | | | | | Also removing all the *stats parameters from external APIs that don't need them anymore. | |||||
* | remote: support fetch cancelation | Carlos Martín Nieto | 2012-10-18 | 1 | -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 Thompson | 2012-10-11 | 1 | -0/+1 | |
| | ||||||
* | remote: support downloading all tags | Carlos Martín Nieto | 2012-09-30 | 1 | -1/+2 | |
| | | | | Also honor remote.$name.tagopt = --tags. | |||||
* | remote: add accessors for the autotag setting | Carlos Martín Nieto | 2012-09-30 | 1 | -0/+17 | |
| | ||||||
* | fetch: use the include-tag capability | Carlos Martín Nieto | 2012-09-30 | 1 | -0/+6 | |
| | | | | | This tells the remote to send us any tags that point to objects that we are downloading. | |||||
* | network: add sideband support | Carlos Martín Nieto | 2012-08-24 | 1 | -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 development | Vicent Marti | 2012-08-06 | 1 | -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 library | Russell Belfer | 2012-08-03 | 1 | -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-callbacks | Vicent Martí | 2012-07-27 | 1 | -1/+34 | |
|\ \ | | | | | | | Add a struct for network callbacks | |||||
| * | | Add a struct for network callbacks | Carlos Martín Nieto | 2012-07-21 | 1 | -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 pushurl | Sascha Cunz | 2012-07-26 | 1 | -0/+30 | |
|/ | ||||||
* | Merge pull request #697 from carlosmn/ssl | Vicent Martí | 2012-06-05 | 1 | -0/+9 | |
|\ | | | | | Add HTTPS support | |||||
| * | ssl: allow skipping the server certificate check | Carlos Martín Nieto | 2012-05-26 | 1 | -0/+9 | |
| | | | | | | | | | | Sometimes it's useful not to perform the check. Allow it to be configurable. | |||||
* | | Fix spelling errors. | Bruce Mitchener | 2012-05-19 | 1 | -4/+4 | |
|/ | ||||||
* | errors: Rename the generic return codes | Vicent Martí | 2012-05-18 | 1 | -9/+9 | |
| | ||||||
* | remotes: change git_remote_new's signature | Carlos Martín Nieto | 2012-05-08 | 1 | -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 Nieto | 2012-05-08 | 1 | -0/+10 | |
| | | | | Helper function to create a remote with the default settings | |||||
* | Merge branch 'new-error-handling' into development | Vicent Martí | 2012-05-02 | 1 | -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_free | Michael Schubert | 2012-04-28 | 1 | -0/+3 | |
| | | ||||||
| * | remote: run a callback when updating the branch tips | Carlos Martín Nieto | 2012-04-25 | 1 | -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 them | Carlos Martín Nieto | 2012-04-25 | 1 | -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 pack | Carlos Martín Nieto | 2012-04-25 | 1 | -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 string | Carlos Martín Nieto | 2012-03-05 | 1 | -0/+8 | |
|/ | ||||||
* | Add git_remote_list() | Carlos Martín Nieto | 2012-02-26 | 1 | -0/+11 | |
| | | | | | Loops through the configuration and generates a list of configured remotes. | |||||
* | Add git_remote_save() | Carlos Martín Nieto | 2012-02-20 | 1 | -0/+8 | |
| | ||||||
* | Add git_remote_set_{fetch,push}spec() | Carlos Martín Nieto | 2012-02-20 | 1 | -0/+18 | |
| | | | | | Allow setting the fetch and push refspecs, which is useful for creating new refspecs. |