- 05 Nov, 2013 6 commits
-
-
nulltoken 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 10 commits
-
-
Ben Straub committed
-
Ben Straub committed
-
Ben Straub 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 17 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 -
This is a little more intuitive than the turned-around option that I originally wrote.
Russell Belfer committed -
This changes `git_index_read` to have two modes - a hard index reload that always resets the index to match the on-disk data (which was the old behavior) and a soft index reload that uses the timestamp / file size information and only replaces the index data if the file on disk has been modified. This then updates the git_status code to do a soft reload unless the new GIT_STATUS_OPT_NO_REFRESH flag is passed in. This also changes the behavior of the git_diff functions that use the index so that when an index is not explicitly passed in (i.e. when the functions call git_repository_index for you), they will also do a soft reload for you. This intentionally breaks the file signature of git_index_read because there has been some confusion about the behavior previously and it seems like all existing uses of the API should probably be examined to select the desired behavior.
Russell Belfer committed -
These changes fix the basic problem with GIT_DIFF_REVERSE being broken for text diffs. The reversed diff entries were getting added to the git_diff correctly, but some of the metadata was kept incorrectly in a way that prevented the text diffs from being generated correctly. Once I fixed that, it became clear that it was not possible to merge reversed diffs correctly. This has a first pass at fixing that problem. We probably need more tests to make sure that is really fixed thoroughly.
Russell Belfer committed -
Fix examples to make the important stuff more obvious
Vicent Martí committed -
Warnings for Windows x64 (MSVC) and GCC on Linux
Russell Belfer committed -
Vicent Marti committed
-
Vicent Marti committed
-
Vicent Marti committed
-
Vicent Marti committed
-
Vicent Marti committed
-
Linquize committed
-