Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Don't clear the opt instance in the diff example. | Sebastian Bauer | 2013-01-23 | 1 | -2/+0 | |
| | | | | | The version field is overwritten otherwise. The opt instance is already initialized properly. | |||||
* | 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. | |||||
* | Merge pull request #1152 from ben/clone-api-structification | Vicent Martí | 2013-01-02 | 3 | -21/+22 | |
|\ | | | | | Segregate in-memory and persisted remotes | |||||
| * | 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 | |
| | | ||||||
* | | Update showindex example | Russell Belfer | 2012-12-28 | 1 | -11/+23 | |
|/ | | | | | | | | I find the showindex example to be pretty useful on occasion, but there were are couple of output tweaks I wanted, plus I wanted the ability to specify a path to an actual index file instead of having to open the whole repository. This makes those changes and expands the example slightly. | |||||
* | Fix diff constructor name order confusion | Russell Belfer | 2012-12-17 | 2 | -8/+8 | |
| | | | | | | | | | | | | The diff constructor functions had some confusing names, where the "old" side of the diff was coming after the "new" side. This reverses the order in the function name to make it less confusing. Specifically... * git_diff_index_to_tree becomes git_diff_tree_to_index * git_diff_workdir_to_index becomes git_diff_index_to_workdir * git_diff_workdir_to_tree becomes git_diff_tree_to_workdir | |||||
* | Make building samples more friendly | Ben Straub | 2012-12-16 | 2 | -0/+6 | |
| | ||||||
* | 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_DIFF_OPTIONS_INIT | Ben Straub | 2012-11-30 | 1 | -1/+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). | |||||
* | API updates for index.h | Ben Straub | 2012-11-27 | 1 | -1/+1 | |
| | ||||||
* | Update diff callback param order | Russell Belfer | 2012-11-27 | 2 | -5/+5 | |
| | | | | | | | | This makes the diff functions that take callbacks both take the payload parameter after the callback function pointers and pass the payload as the last argument to the callback function instead of the first. This should make them consistent with other callbacks across the API. | |||||
* | API review / update for tree.h | Russell Belfer | 2012-11-27 | 1 | -2/+2 | |
| | ||||||
* | Examples: fix clone api | Ben Straub | 2012-11-27 | 1 | -1/+1 | |
| | ||||||
* | Examples: fix reference names | Ben Straub | 2012-11-27 | 2 | -3/+3 | |
| | ||||||
* | tag: rename git_tag_type to git_tag_target_type | nulltoken | 2012-11-17 | 1 | -1/+1 | |
| | ||||||
* | Add explicit git_index ptr to diff and checkout | Russell Belfer | 2012-11-14 | 1 | -6/+6 | |
| | | | | | | | | A number of diff APIs and the `git_checkout_index` API take a `git_repository` object an operate on the index. This updates them to take a `git_index` pointer explicitly and only fall back on the `git_repository` index if the index input is NULL. This makes it easier to operate on a temporary index. | |||||
* | 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. | |||||
* | Improve docs, examples, warnings | Russell Belfer | 2012-11-01 | 3 | -48/+63 | |
| | | | | | | This improves docs in some of the public header files, cleans up and improves some of the example code, and fixes a couple of pedantic warnings in places. | |||||
* | index refactoring | Edward Thomson | 2012-10-29 | 2 | -2/+3 | |
| | ||||||
* | 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: fix config getter param order | Carlos Martín Nieto | 2012-09-30 | 1 | -2/+2 | |
| | ||||||
* | 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 | |
| | |