- 24 Jan, 2014 2 commits
-
-
Reorganize the builtin driver table slightly so that core Git builtin definitions can be imported verbatim. Then take a few of the core Git drivers and pull them in. This also creates a test of diffs with the builtin HTML driver which led to some small error handling fixes in the driver selection logic.
Russell Belfer committed -
This extends the diff driver parser to support multiline driver definitions along with ! prefixing for negated matches. This brings the driver function pattern parsing in line with core Git. This also adds an internal table of driver definitions and a fallback code path that will look in that table for diff drivers that are set with attributes without having a definition in the config file. Right now, I just populated the table with a kind of simple HTML definition that is similar to the core Git def.
Russell Belfer committed
-
- 23 Jan, 2014 2 commits
-
-
Drop parsing pack filename SHA1 part
Vicent Marti committed -
Linquize committed
-
- 22 Jan, 2014 10 commits
-
-
Sometimes a zero byte file is just a zero byte file
Vicent Marti committed -
Don't go to the ODB to resolve zero byte files in the workdir
Edward Thomson committed -
Ben Straub committed
-
Summarize empty messages
Vicent Marti committed -
Edward Thomson committed
-
Preserve tree filemode in index during checkout
Vicent Marti committed -
Don't try to determine whether the system supports file modes when putting the tree data in the index during checkout. The tree's mode is canonical and did not come from stat(2) in the first place.
Edward Thomson committed -
Expose patch serialization to git_buf
Vicent Marti committed -
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
-
- 21 Jan, 2014 1 commit
-
-
Merge improvements
Vicent Marti committed
-
- 20 Jan, 2014 14 commits
-
-
Edward Thomson committed
-
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
-
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 -
"Uninitialized" submodules are "unmodified"
Vicent Marti 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 -
git_reflog_entry_message can be null
Russell Belfer committed -
Fix a couple of corner cases and an undefined behavior
Russell Belfer committed -
Patrick Reynolds committed
-
Patrick Reynolds committed
-
Linquize committed
-
- 18 Jan, 2014 2 commits
-
-
Fix segfault when calling git_config_get_* functions when a config fails to load
Edward Thomson committed -
Reinitialize the result code of get_entry() to GIT_ENOTFOUND
Linquize committed
-
- 17 Jan, 2014 2 commits
-
-
Convert gitdir paths to posix on Windows
Edward Thomson committed -
Apparently, a .git file with "gitdir: path" link on Windows is allowed to use backslashes in the path. Who knew?
Russell Belfer committed
-
- 16 Jan, 2014 4 commits
-
-
Fix some documentation issues.
Vicent Marti committed -
Arthur Schreiber committed
-
Arthur Schreiber committed
-
Run Coverity scan on Travis
Ben Straub committed
-
- 15 Jan, 2014 3 commits
-
-
Update README to include Java, PowerShell bindings
Ben Straub committed -
Edward Thomson committed
-
Ben Straub committed
-