Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | | ||||||
* | | 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. | |||||
* | Updating language in examples README | Russell Belfer | 2012-07-10 | 1 | -4/+7 | |
| | ||||||
* | examples: add README | Michael Schubert | 2012-07-10 | 1 | -0/+8 | |
| | ||||||
* | 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 | |||||
* | Merge remote-tracking branch 'source/development' into development | Chris Young | 2012-06-13 | 1 | -3/+1 | |
|\ | ||||||
| * | Minor fixes, cleanups, and clarifications | Russell Belfer | 2012-06-08 | 1 | -3/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are three actual changes in this commit: 1. When the trailing newline of a file is removed in a diff, the change will now be reported with `GIT_DIFF_LINE_DEL_EOFNL` passed to the callback. Previously, the `ADD_EOFNL` constant was given which was just an error in my understanding of when the various circumstances arose. `GIT_DIFF_LINE_ADD_EOFNL` is deprecated and should never be generated. A new newline is simply an `ADD`. 2. Rewrote the `diff_delta__merge_like_cgit` function that contains the core logic of the `git_diff_merge` implementation. The new version doesn't actually have significantly different behavior, but the logic should be much more obvious, I think. 3. Fixed a bug in `git_diff_merge` where it freed a string pool while some of the string data was still in use. This led to `git_diff_print_patch` accessing memory that had been freed. The rest of this commit contains improved documentation in `diff.h` to make the behavior and the equivalencies with core git clearer, and a bunch of new tests to cover the various cases, oh and a minor simplification of `examples/diff.c`. | |||||
* | | 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 | |
| | ||||||
* | Fix examples/general.c compilation | Scott J. Goldman | 2012-05-20 | 1 | -1/+1 | |
| | | | | git_reference_listall() -> git reference_list() | |||||
* | errors: Rename error codesbreaking-changes | Vicent Martí | 2012-05-18 | 1 | -2/+2 | |
| | ||||||
* | errors: Rename the generic return codes | Vicent Martí | 2012-05-18 | 5 | -13/+13 | |
| | ||||||
* | Basic setup for profiling | Russell Belfer | 2012-05-17 | 2 | -2/+8 | |
| | | | | | This fixes the examples so they will build and adds a PROFILE option to the CMakeFile that enabled gprof info on non-Windows | |||||
* | 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. |