Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix warnings in example | Ben Straub | 2012-12-27 | 1 | -3/+15 | |
| | ||||||
* | Fix examples | Ben Straub | 2012-12-21 | 2 | -2/+2 | |
| | ||||||
* | Rename remote creation APIs | Ben Straub | 2012-12-20 | 2 | -2/+2 | |
| | | | | git_remote_add -> git_remote_create git_remote_new -> git_remote_create_inmemory | |||||
* | Fix clone sample | Ben Straub | 2012-12-19 | 1 | -17/+6 | |
| | ||||||
* | Make building samples more friendly | Ben Straub | 2012-12-16 | 1 | -0/+4 | |
| | ||||||
* | Move non-options back out of options struct | Ben Straub | 2012-12-14 | 1 | -6/+5 | |
| | ||||||
* | Deploy git_clone_options to network sample | Ben Straub | 2012-12-14 | 1 | -5/+10 | |
| | ||||||
* | Enable authenticated clones in network sample | Ben Straub | 2012-12-13 | 1 | -1/+17 | |
| | ||||||
* | Stop premature remote freeing when cloning | Ben Straub | 2012-12-13 | 1 | -0/+1 | |
| | ||||||
* | Fix network example | Ben Straub | 2012-12-13 | 1 | -2/+11 | |
| | ||||||
* | Deploy GIT_REMOTE_CALLBACKS_INIT | Ben Straub | 2012-11-30 | 1 | -2/+1 | |
| | ||||||
* | Deploy GIT_CHECKOUT_OPTS_INIT | Ben Straub | 2012-11-30 | 1 | -1/+1 | |
| | ||||||
* | API updates for remote.h | Ben Straub | 2012-11-27 | 2 | -3/+3 | |
| | | | | | Includes typedef for git_direction, and renames for GIT_DIR_[FETCH|PUSH] to GIT_DIRECTION_(\1). | |||||
* | Examples: fix clone api | Ben Straub | 2012-11-27 | 1 | -1/+1 | |
| | ||||||
* | Fix various cross-platform build issues | Russell Belfer | 2012-11-09 | 4 | -13/+29 | |
| | | | | | | This fixes a number of warnings and problems with cross-platform builds. Among other things, it's not safe to name a member of a structure "strcmp" because that may be #defined. | |||||
* | Remove 'bytes' param from git_remote_download | Ben Straub | 2012-10-24 | 1 | -6/+3 | |
| | ||||||
* | Renaming: fix example | Ben Straub | 2012-10-24 | 3 | -14/+17 | |
| | ||||||
* | Network progress: rename things | Ben Straub | 2012-10-24 | 1 | -1/+1 | |
| | | | | | | | git_indexer_stats and friends -> git_transfer_progress* Also made git_transfer_progress members more sanely named. | |||||
* | Improve clone sample's formatting | Ben Straub | 2012-10-19 | 1 | -9/+6 | |
| | ||||||
* | Checkout progress now reports completed/total steps | Ben Straub | 2012-10-19 | 1 | -4/+8 | |
| | ||||||
* | gitno_buffer: callback on each packet | Ben Straub | 2012-10-19 | 1 | -3/+4 | |
| | | | | | The fetch code takes advantage of this to implement a progress callback every 100kb of transfer. | |||||
* | Correct progress reporting from checkout | Ben Straub | 2012-10-19 | 1 | -3/+3 | |
| | ||||||
* | Clone: in-line callbacks for progress | Ben Straub | 2012-10-19 | 1 | -42/+50 | |
| | | | | Also implemented in the git2 example. | |||||
* | Fix example compilation | Ben Straub | 2012-10-19 | 2 | -2/+2 | |
| | ||||||
* | Example: compile fixes (not yet working) | Ben Straub | 2012-10-19 | 1 | -3/+2 | |
| | ||||||
* | Add accessor for git_remote's stats field | Ben Straub | 2012-10-19 | 1 | -9/+8 | |
| | | | | Also converted the network example to use it. | |||||
* | examples: add progress output to fetch | Carlos Martín Nieto | 2012-08-24 | 1 | -1/+13 | |
| | ||||||
* | indexer: recognize and mark when all of the packfile has been downloaded | Carlos Martín Nieto | 2012-08-24 | 1 | -1/+1 | |
| | | | | | We can't always rely on the network telling us when the download is finished. Recognize it from the indexer itself. | |||||
* | Merge pull request #778 from ben/clone | Vicent Martí | 2012-08-19 | 4 | -0/+71 | |
|\ | | | | | Clone | |||||
| * | Rename example function to avoid name collision. | Ben Straub | 2012-07-31 | 3 | -3/+3 | |
| | | ||||||
| * | Checkout: save index on checkout. | Ben Straub | 2012-07-31 | 1 | -1/+0 | |
| | | ||||||
| * | Add clone to the network example. | Ben Straub | 2012-07-30 | 4 | -0/+72 | |
| | | ||||||
* | | examples: fix warnings in network/ | Carlos Martín Nieto | 2012-07-30 | 4 | -46/+24 | |
| | | ||||||
* | | remote: start moving the protocol to a common area | Carlos Martín Nieto | 2012-07-30 | 1 | -0/+3 | |
|/ | | | | | | | For the transition, http is going to keep its own logic until the git/common code catches up with the implied multi_ack that http has. This also has the side-effect of making the code cleaner and more correct regardingt he protocol. | |||||
* | Add a struct for network callbacks | Carlos Martín Nieto | 2012-07-21 | 1 | -2/+9 | |
| | | | | | Currently only update_tips is used, but it prepares the way for progress output during download. | |||||
* | indexer: don't use '/objects/pack/' unconditionally | Carlos Martín Nieto | 2012-06-28 | 2 | -2/+2 | |
| | | | | | Not everyone who indexes a packfile wants to put it in the standard git repository location. | |||||
* | Fix incorrect revert | Chris Young | 2012-06-14 | 1 | -1/+1 | |
| | ||||||
* | Updates from comments on OS4 compatibility pull request ↵ | Chris Young | 2012-06-14 | 2 | -8/+2 | |
| | | | | http://github.com/libgit2/libgit2/pull/766 | |||||
* | Let platform 'Generic' get the regex deps so we don't need to use our ↵ | Chris Young | 2012-06-09 | 1 | -2/+2 | |
| | | | | external ones | |||||
* | allow disabling pthreads for testing | Chris Young | 2012-06-09 | 1 | -0/+6 | |
| | ||||||
* | Fix makefile | Chris Young | 2012-06-09 | 1 | -3/+4 | |
| | ||||||
* | examples/network: consistently use tabs for indentation | Carlos Martín Nieto | 2012-05-24 | 2 | -126/+126 | |
| | ||||||
* | errors: Rename the generic return codes | Vicent Martí | 2012-05-18 | 3 | -10/+10 | |
| | ||||||
* | examples: fix an oopsie | Carlos Martín Nieto | 2012-05-11 | 1 | -0/+1 | |
| | ||||||
* | examples: update network examples error handling | Carlos Martín Nieto | 2012-05-10 | 1 | -2/+5 | |
| | | | | Use giterr_last() and make sure it's not NULL. | |||||
* | remotes: change git_remote_new's signature | Carlos Martín Nieto | 2012-05-08 | 2 | -2/+2 | |
| | | | | | Add a fetch refspec arguemnt and make the arguments (name, url, refspec), as that order makes more sense. | |||||
* | remote: don't free transport on disconnect | Michael Schubert | 2012-05-02 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | Currently, git_remote_disconnect not only closes the connection but also frees the underlying transport object, making it impossible to write code like // fetch stuff git_remote_download() // close connection git_remote_disconnect() // call user provided callback for each ref git_remote_update_tips(remote, callback) because remote->refs points to references owned by the transport object. This means, we have an idling connection while running the callback for each reference. Instead, allow immediate disconnect and free the transport later in git_remote_free(). | |||||
* | remote: run a callback when updating the branch tips | Carlos Martín Nieto | 2012-04-25 | 2 | -2/+21 | |
| | | | | | | | | 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. | |||||
* | examples: run fetch in a background thread | Carlos Martín Nieto | 2012-04-25 | 1 | -13/+56 | |
| | | | | This allows us to give updates on how it's doing | |||||
* | examples: port 'fetch' to the new API | Carlos Martín Nieto | 2012-04-25 | 1 | -71/+22 | |
| |