| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge pull request #1956 from libgit2/cmn/fetch-default-head | Vicent Martí | 2013-11-11 | 1 | -12/+14 |
| |\ | | | | | Remote revamp (director's cut) | ||||
| | * | remote: make _ls return the list directly | Carlos Martín Nieto | 2013-11-11 | 1 | -12/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | The callback-based method of listing remote references dates back to the beginning of the network code's lifetime, when we didn't know any better. We need to keep the list around for update_tips() after disconnect() so let's make use of this to simply give the user a pointer to the array so they can write straightforward code instead of having to go through a callback. | ||||
| * | | update example to new packfile creation signature | Edward Thomson | 2013-11-07 | 1 | -1/+1 |
| | | | |||||
| * | | Fix warnings | Ben Straub | 2013-11-04 | 1 | -2/+2 |
| |/ | |||||
| * | Merge pull request #1916 from libgit2/simplify-examples | Vicent Martí | 2013-11-01 | 2 | -3/+17 |
| |\ | | | | | Fix examples to make the important stuff more obvious | ||||
| | * | Fix typos | Ben Straub | 2013-11-01 | 1 | -2/+2 |
| | | | |||||
| | * | A few formatting changes for rocco | Carlos Martín Nieto | 2013-11-01 | 2 | -3/+17 |
| | | | | | | | | | | | I'm not too happy about manually inserting < and > but those get output as html tags otherwise. | ||||
| * | | indexer: remove the stream infix | Carlos Martín Nieto | 2013-10-30 | 1 | -6/+6 |
| |/ | | | | | | | | | | | It was there to keep it apart from the one which read in from a file on disk. This other indexer does not exist anymore, so there is no need for anything other than git_indexer to refer to it. While here, rename _add() function to _append() and _finalize() to _commit(). The former change is cosmetic, while the latter avoids talking about "finalizing", which OO languages use to mean something completely different. | ||||
| * | Merge pull request #1891 from libgit2/cmn/fix-thin-packs | Vicent Martí | 2013-10-28 | 3 | -4/+20 |
| |\ | | | | | Add support for thin packs | ||||
| | * | indexer: include the delta stats | Carlos Martín Nieto | 2013-10-23 | 2 | -2/+13 |
| | | | | | | | | | | | | | | | | | | | | | The user is unable to derive the number of deltas in the pack, as that would require them to capture the stats exactly in the moment between download and final processing, which is abstracted away in the fetch. Capture these numbers for the user and expose them in the progress struct. The clone and fetch examples now also present this information to the user. | ||||
| | * | examples: show used local objects in fetch | Carlos Martín Nieto | 2013-10-23 | 1 | -1/+6 |
| | | | | | | | | | | | Show how many local objects were used to fix the thin pack in our fetch example. | ||||
| | * | indexer: fix thin packs | Carlos Martín Nieto | 2013-10-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | When given an ODB from which to read objects, the indexer will attempt to inject the missing bases at the end of the pack and update the header and trailer to reflect the new contents. | ||||
| * | | clone: put the callbacks struct directly in the clone options | Carlos Martín Nieto | 2013-10-02 | 1 | -5/+3 |
| | | | | | | | | | There's no need for this to be a pointer to somewhere else. | ||||
| * | | remote: move the credentials callback to the struct | Carlos Martín Nieto | 2013-10-02 | 3 | -3/+5 |
| | | | | | | | | | | | Move this one as well, letting us have a single way of setting the callbacks for the remote, and removing fields from the clone options. | ||||
| * | | remote: put the _download() callback with the others | Carlos Martín Nieto | 2013-10-02 | 2 | -3/+5 |
| |/ | | | | | | The text progress and update_tips callbacks are already part of the struct, which was meant to unify the callback setup, but the download one was left out. | ||||
| * | Adding credentials callback to ls-remote and fetch too. | Krzysztof Adamski | 2013-09-01 | 6 | -33/+45 |
| | | |||||
| * | Removing unneeded code duplication in ls-remote.c | Krzysztof Adamski | 2013-09-01 | 1 | -33/+7 |
| | | |||||
| * | examples: init the threading system | Carlos Martín Nieto | 2013-04-23 | 1 | -0/+2 |
| | | |||||
| * | Fix clang warnings and improve checks | Russell Belfer | 2013-04-09 | 3 | -8/+17 |
| | | |||||
| * | Fix link issue in network examples | lionel vitte | 2013-03-20 | 1 | -2/+3 |
| | | |||||
| * | Give props to Martin Pool | Martin Woodward | 2013-02-26 | 1 | -1/+4 |
| | | | | | | | Martin Pool was the original author of the code referenced in the clone example. Make note that he's given his permission and also give him the proper credit. | ||||
| * | Allow progress callback to cancel fetch | Ben Straub | 2013-02-05 | 1 | -1/+2 |
| | | | | | | This works by having the indexer watch the return code of the callback, so will only take effect on object boundaries. | ||||
| * | Add user-from-url param to auth callback | Ben Straub | 2013-01-31 | 1 | -0/+1 |
| | | |||||
| * | update examples to work on windows | Edward Thomson | 2013-01-23 | 3 | -8/+31 |
| | | |||||
| * | Don't call pthread_exit() in the callback. | Sebastian Bauer | 2013-01-10 | 1 | -1/+1 |
| | | | | | | | | | Compilers that are not aware that pthread_exit() does not return issue a warning when compiling the present code. This change exchanges the call to pthread_exit() with a simple return statement. According to the pthread specification this is equivalent. | ||||
| * | Include checkout options inline | Ben Straub | 2013-01-02 | 1 | -1/+1 |
| | | |||||
| * | Move `url` to last place in parameter list | Ben Straub | 2013-01-02 | 2 | -2/+2 |
| | | |||||
| * | 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. | ||||
