| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 |
| | | |||||
| * | examples: stream indexer example | Carlos Martín Nieto | 2012-04-13 | 1 | -0/+55 |
| | | |||||
| * | Use new error handling in the example network code | Carlos Martín Nieto | 2012-04-11 | 1 | -1/+1 |
| | | |||||
| * | remote: Cleanup the remotes code | Vicent Marti | 2011-11-28 | 3 | -78/+11 |
| | | | | | | | - Hide the remaining transports code - Drop `git_headarray`, switch to using a callback to list refs. Makes the code cleaner. | ||||
| * | examples/network/.gitignore: ignore 'git2' | Brandon Casey | 2011-11-06 | 1 | -0/+1 |
| | | |||||
| * | examples/network/git2.c: exit with proper status, and avoid segfault | Brandon Casey | 2011-11-06 | 1 | -1/+2 |
| | | | | | | | | | This function should exit after printing usage information if too few arguments were specified. Additionally, it should exit with a failure status if the first argument supplied is not one in the internal command list. | ||||
| * | examples/network/git2.c: add newline to usage message | Brandon Casey | 2011-11-06 | 1 | -1/+1 |
| | | |||||
| * | examples/network/fetch.c: revert overzealous conversion of free to git__free | Brandon Casey | 2011-11-06 | 1 | -1/+1 |
| | | | | | | Since git__free is not exported (it's actually a macro), it should not be used in client programs. Change this call to 'git__free' back to 'free'. | ||||
| * | global: Properly use `git__` memory wrappers | Vicent Marti | 2011-10-28 | 1 | -1/+1 |
| | | | | | | Ensure that all memory related functions (malloc, calloc, strdup, free, etc) are using their respective `git__` wrappers. | ||||
| * | examples: add ls-remote, fetch and index-pack examples | Carlos Martín Nieto | 2011-10-03 | 6 | -0/+372 |
| Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk> | |||||
