- 05 Nov, 2013 15 commits
-
-
Plug git_merge() related leaks
Vicent Martí committed -
nulltoken committed
-
merge!
Vicent Martí committed -
Edward Thomson committed
-
Fix leaks
Vicent Martí committed -
branch: move from foreach to an iterator
Vicent Martí committed -
nulltoken committed
-
Preserve error messages during file system iterator cleanup
Vicent Martí committed -
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.
Carlos Martín Nieto committed -
Vicent Marti committed
-
Propagate ELOCKED error when updating the config
Vicent Martí committed -
nulltoken committed
-
Take umask into account in filebuf_commit
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson committed
-
- 04 Nov, 2013 12 commits
-
-
Ben Straub committed
-
Ben Straub committed
-
Ben Straub committed
-
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.
Russell Belfer committed -
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.
Russell Belfer committed -
Ben Straub committed
-
Allow backend consumers to specify file mode
Vicent Martí committed -
Edward Thomson committed
-
Blame Canada
Russell Belfer committed -
Relicense examples under CC0
Vicent Martí committed -
Don't assert in git_checkout_tree
Vicent Martí committed -
Fix some observed problems with incorrect diffs
Vicent Martí committed
-
- 03 Nov, 2013 1 commit
-
-
Update the explanation to reflect our use of git_status_list_new() and make the breaks in rocco more meaningful. Clarify why GIT_STATUS_CURRENT and index_to_workdir don't always imply each other. Fixes #1740.
Carlos Martín Nieto committed
-
- 02 Nov, 2013 6 commits
-
-
We used to move `data_start` forward, which is wrong as that needs to point to the beginning of the buffer in order to perform size calculations. Introduce a `write_start` variable which indicates where we should start writing from, which is what the `data_start` was being wrongly reused to be.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
Ben Straub committed
-
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.
Sascha Cunz committed -
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.
Sascha Cunz committed -
Since all 3 checkout APIs perform the same operation with the options, all of them should use the same const-ness.
Sascha Cunz committed
-
- 01 Nov, 2013 6 commits
-
-
preserve windows error numbers as well
Vicent Martí committed -
Edward Thomson committed
-
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.
Russell Belfer committed -
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.
Russell Belfer committed -
Ben Straub committed
-
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.
Russell Belfer committed
-