- 05 Feb, 2014 6 commits
-
-
We don't actually pass the old value yet.
Carlos Martín Nieto committed -
Bring the race detection goodness to symbolic references as well.
Carlos Martín Nieto committed -
Add a parameter to the backend to allow checking for the old symbolic target.
Carlos Martín Nieto committed -
In case we loose the race to update the reference, return GIT_EMODIFIED to let the user distinguish it from other types of errors.
Carlos Martín Nieto committed -
Change the name to _matching() intead of _if(), and force _set_target() to be a conditional update. If the user doesn't care about the old value, they should use git_reference_create().
Carlos Martín Nieto committed -
Allow updating references if the old value matches the given one.
Carlos Martín Nieto committed
-
- 02 Feb, 2014 1 commit
-
-
Arthur Schreiber committed
-
- 30 Jan, 2014 9 commits
-
-
Ben Straub committed
-
Ben Straub committed
-
Ben Straub committed
-
Ben Straub committed
-
Ben Straub committed
-
Ben Straub committed
-
Russell Belfer committed
-
This removes the fetchRecurse compiler warnings and makes the behavior match the other submodule options (i.e. the in-memory setting can be reset to the on-disk value).
Russell Belfer committed -
Russell Belfer committed
-
- 28 Jan, 2014 1 commit
-
-
Arthur Schreiber committed
-
- 27 Jan, 2014 5 commits
-
-
Carlos Martín Nieto committed
-
A lot of the tests were checking for overflow, which we don't have anymore, so we can remove them.
Carlos Martín Nieto committed -
Again, we already did this internally, so simply remove the conversions.
Carlos Martín Nieto committed -
Internally we already did everything with git_bufs, so this is just exposing those functions with public names.
Carlos Martín Nieto committed -
Since we now export that type, we can avoid making the user guess a size.
Carlos Martín Nieto committed
-
- 26 Jan, 2014 2 commits
-
-
Arthur Schreiber committed
-
Arthur Schreiber committed
-
- 25 Jan, 2014 6 commits
-
-
Following the rest of the series, use 'id' when refering to the value.
Carlos Martín Nieto committed -
Same as the other commits in the series, we use 'id' when talking about thing rather than the datatype.
Carlos Martín Nieto committed -
In the same vein as the previous commits in this series.
Carlos Martín Nieto committed -
Rename git_tree_entry_byoid() to _byid() as per the convention.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
This was not converted when we converted the rest, so do it now.
Carlos Martín Nieto committed
-
- 24 Jan, 2014 1 commit
-
-
This was left over when we did the general switch.
Carlos Martín Nieto committed
-
- 22 Jan, 2014 2 commits
-
-
It's hard or even impossible to correctly free the string buffer allocated by git_patch_to_str in some circumstances. Drop the function so people have to use git_patch_to_buf instead - git_buf has a dedicated destructor.
Nicolas Hake committed -
Returning library-allocated strings from libgit2 works fine on Linux, but may cause problems on Windows because there is no one C Runtime that everything links against. With libgit2 not exposing its own allocator, freeing the string is a gamble. git_patch_to_str already serializes to a buffer, then returns the underlying memory. Expose the functionality directly, so callers can use the git_buf_free function to free the memory later.
Nicolas Hake committed
-
- 20 Jan, 2014 5 commits
-
-
Edward Thomson committed
-
The "merge none" (don't automerge) flag was only to aide in merge trivial tests. We can easily determine whether merge trivial resulted in a trivial merge or an automerge by examining the REUC after automerge has completed.
Edward Thomson committed -
Edward Thomson committed
-
The default merge_file level was XDL_MERGE_MINIMAL, which will produce conflicts where there should not be in the case where both sides were changed identically. Change the defaults to be more aggressive (XDL_MERGE_ZEALOUS) which will more aggressively compress non-conflicts. This matches git.git's defaults. Increase testing around reverting a previously reverted commit to illustrate this problem.
Edward Thomson committed -
Extend the "unmodified" submodule workdir test to include uninitialized submodules, to prevent reporting submodules as modified when they're not in the workdir at all.
Edward Thomson committed
-
- 16 Jan, 2014 2 commits
-
-
Arthur Schreiber committed
-
Arthur Schreiber committed
-