Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | Change the git_branch_iterator_new and git_branch_next definitions to use ↵ | Arthur Schreiber | 2013-11-05 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | git_branch_t. | |||||
* | | | | Blame: change signature to be more binding-friendly | Ben Straub | 2013-11-05 | 1 | -1/+1 | |
|/ / / | ||||||
* | | | Fix MSVC 64-bit warnings | Ben Straub | 2013-11-05 | 2 | -10/+10 | |
| | | | ||||||
* | | | Plug configuration file search paths leaks | nulltoken | 2013-11-05 | 2 | -1/+6 | |
| | | | ||||||
* | | | Plug git_merge() related leaks | nulltoken | 2013-11-05 | 1 | -0/+1 | |
| | | | ||||||
* | | | merge branch into current, updating workdir | Edward Thomson | 2013-11-05 | 2 | -18/+536 | |
| | | | ||||||
* | | | Merge pull request #1943 from libgit2/ntk/fix/leaks | Vicent Martí | 2013-11-05 | 1 | -2/+5 | |
|\ \ \ | | | | | | | | | Fix leaks | |||||
| * | | | Fix leaks | nulltoken | 2013-11-05 | 1 | -2/+5 | |
| | | | | ||||||
* | | | | Merge pull request #1938 from libgit2/cmn/branch-iterator | Vicent Martí | 2013-11-05 | 1 | -32/+50 | |
|\ \ \ \ | | | | | | | | | | | branch: move from foreach to an iterator | |||||
| * | | | | branch: move from foreach to an iterator | Carlos Martín Nieto | 2013-11-05 | 1 | -32/+50 | |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a git_branch_iterator type which is equivalent to the foreach but lets us write loops instead of callbacks. Since the introduction of git_reference_shorthand(), the added value of passing the name is reduced. | |||||
* | | | | Merge pull request #1941 from libgit2/rb/preserve-iterator-error | Vicent Martí | 2013-11-05 | 2 | -0/+31 | |
|\ \ \ \ | |/ / / |/| | | | Preserve error messages during file system iterator cleanup | |||||
| * | | | error: Simplify giterr_detach | Vicent Marti | 2013-11-05 | 2 | -16/+12 | |
| | | | | ||||||
| * | | | Preserve file error in iterator | Russell Belfer | 2013-11-04 | 1 | -0/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the filesystem iterator encounters an error with a file, it returns the error but because of the cleanup code, it was in some cases erasing the error message. This uses the giterr_detach API to make sure that the actual error message is restored after the cleanup code has been run. | |||||
| * | | | Add giterr_detach API to get and clear error | Russell Belfer | 2013-11-04 | 1 | -0/+23 | |
| | |/ | |/| | | | | | | | | | | | | | | | | | | | There are a number of cases where it is convenient to be able to fetch and "claim" the current error string, clearing the error. This is helpful when you need to call some code that may alter the error and you want to restore it later on and/or report it via some other mechanism. | |||||
* | | | Propagate ELOCKED error when updating the config | nulltoken | 2013-11-05 | 1 | -4/+4 | |
| | | | ||||||
* | | | move mode_t to filebuf_open instead of _commit | Edward Thomson | 2013-11-04 | 15 | -60/+63 | |
| | | | ||||||
* | | | Take umask into account in filebuf_commit | Edward Thomson | 2013-11-04 | 2 | -3/+7 | |
|/ / | ||||||
* | | Merge pull request #1939 from ethomson/readwrite_odb | Vicent Martí | 2013-11-04 | 2 | -5/+17 | |
|\ \ | | | | | | | Allow backend consumers to specify file mode | |||||
| * | | Allow backend consumers to specify file mode | Edward Thomson | 2013-11-04 | 2 | -5/+17 | |
| | | | ||||||
* | | | Merge pull request #1317 from libgit2/blame | Russell Belfer | 2013-11-04 | 5 | -0/+1246 | |
|\ \ \ | | | | | | | | | Blame Canada | |||||
| * | | | Adjust for diff API changes | Ben Straub | 2013-10-28 | 2 | -26/+19 | |
| | | | | ||||||
| * | | | Merge remote-tracking branch 'libgit2/development' into blame | Ben Straub | 2013-10-28 | 60 | -1429/+2908 | |
| |\ \ \ | ||||||
| * | | | | :heart: bool | Ben Straub | 2013-10-28 | 2 | -3/+3 | |
| | | | | | ||||||
| * | | | | Mmmm, GIT_FLEX_ARRAY | Ben Straub | 2013-10-28 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Avoid temporary object in lookup routine | Ben Straub | 2013-10-28 | 1 | -8/+7 | |
| | | | | | ||||||
| * | | | | Move flag dependencies into docs and code. | Ben Straub | 2013-10-10 | 1 | -0/+8 | |
| | | | | | ||||||
| * | | | | Include signatures in blame hunks | Ben Straub | 2013-10-10 | 1 | -0/+4 | |
| | | | | | ||||||
| * | | | | Merge branch 'development' into blame | Ben Straub | 2013-10-03 | 24 | -424/+526 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: include/git2.h | |||||
| * \ \ \ \ | Merge branch 'development' into blame | Ben Straub | 2013-09-25 | 52 | -896/+1865 | |
| |\ \ \ \ \ | ||||||
| * | | | | | | Blame: minor cleanup | Ben Straub | 2013-09-25 | 2 | -4/+4 | |
| | | | | | | | ||||||
| * | | | | | | Clean up ported code | Ben Straub | 2013-09-21 | 3 | -126/+142 | |
| | | | | | | | ||||||
| * | | | | | | Simplify blob loading logic | Ben Straub | 2013-09-21 | 1 | -22/+17 | |
| | | | | | | | ||||||
| * | | | | | | Clean up old methods, format long lines | Ben Straub | 2013-09-21 | 2 | -54/+72 | |
| | | | | | | | | | | | | | | | | | | | | | Added back the line index. We'll need it later. | |||||
| * | | | | | | git_blame is a scoreboard | Ben Straub | 2013-09-21 | 4 | -152/+132 | |
| | | | | | | | ||||||
| * | | | | | | Trim fat from git_blame struct | Ben Straub | 2013-09-20 | 2 | -18/+0 | |
| | | | | | | | ||||||
| * | | | | | | Add typedefs for internal structs | Ben Straub | 2013-09-20 | 3 | -78/+82 | |
| | | | | | | | ||||||
| * | | | | | | Detect boundaries, support limiting commit range | Ben Straub | 2013-09-20 | 3 | -3/+17 | |
| | | | | | | | ||||||
| * | | | | | | blame: allow restriction to line range | Ben Straub | 2013-09-19 | 1 | -0/+11 | |
| | | | | | | | ||||||
| * | | | | | | Stop being crazy about freeing memory | Ben Straub | 2013-09-19 | 1 | -26/+2 | |
| | | | | | | | ||||||
| * | | | | | | Check errors from libgit2 calls | Ben Straub | 2013-09-17 | 1 | -13/+10 | |
| | | | | | | | ||||||
| * | | | | | | Port blame from git.git | Ben Straub | 2013-09-16 | 5 | -0/+1249 | |
| | | | | | | | ||||||
* | | | | | | | Merge pull request #1937 from scunz/checkout_assert | Vicent Martí | 2013-11-04 | 1 | -19/+18 | |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Don't assert in git_checkout_tree | |||||
| * | | | | | | | Checkout: git_checkout_head is git_checkout_tree without a treeish | Sascha Cunz | 2013-11-02 | 1 | -13/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The last commit taught git_checkout_tree to actually do something meaningfull, when treeish was NULL. This lets us rewrite git_checkout_head to simply call git_checkout_tree without giving it a treeish. | |||||
| * | | | | | | | Checkout: Don't assert if treeish is NULL | Sascha Cunz | 2013-11-02 | 1 | -4/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In git_checkout_tree, the first check tests if either repo or treeish is NULL and says that eithor of them has to have a valid value. But there is no code to handle the treeish == NULL case. So, do something meaningful in that case: use HEAD instead. | |||||
| * | | | | | | | Checkout: Unifiy const-ness of `opts` parameter | Sascha Cunz | 2013-11-02 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since all 3 checkout APIs perform the same operation with the options, all of them should use the same const-ness. | |||||
* | | | | | | | | Merge pull request #1929 from libgit2/rb/misc-diff-fixes | Vicent Martí | 2013-11-04 | 7 | -46/+131 | |
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / |/| | | | | | | | Fix some observed problems with incorrect diffs | |||||
| * | | | | | | | Fix --assume-unchanged support | Russell Belfer | 2013-11-01 | 2 | -6/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was never really working right because we were checking the wrong flag and not checking it in all the places that we need to be checking it. I finally got around to writing a test and adding actual support for it. | |||||
| * | | | | | | | More tests and fixed for merging reversed diffs | Russell Belfer | 2013-11-01 | 1 | -14/+43 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were a lot more cases to deal with to make sure that our merged (i.e. workdir-to-tree-to-index) diffs were matching the output of core Git. | |||||
| * | | | | | | | Add git_diff_options_init helper | Russell Belfer | 2013-11-01 | 1 | -0/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes the static initializer for git_diff_options cannot be used and since setting them to all zeroes doesn't actually work quite right, this adds a new helper for that situation. This also adds an explicit new value to the submodule settings options to be used when those enums need static initialization. | |||||
| * | | | | | | | Convert git_index_read to have a "force" flag | Russell Belfer | 2013-11-01 | 4 | -7/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a little more intuitive than the turned-around option that I originally wrote. |