- 20 Feb, 2013 1 commit
-
-
The recent changes with git_treebuilder_entrycount point out that the test coverage for git_treebuilder_remove and git_treebuilder_entrycount is completely absent. This adds tests.
Russell Belfer committed
-
- 23 Jan, 2013 1 commit
-
-
as per @vmg's request
Scott J. Goldman committed
-
- 22 Jan, 2013 1 commit
-
-
Also ammends one of the tag tests to make sure it's working.
Scott J. Goldman committed
-
- 12 Jan, 2013 1 commit
-
-
Edward Thomson committed
-
- 04 Jan, 2013 1 commit
-
-
Previously a NULL oid was handled like an empty buffer and returned a status empty string. This makes git_oid_tostr() set the output buffer to the empty string instead.
Russell Belfer committed
-
- 14 Dec, 2012 1 commit
-
-
Vicent Marti committed
-
- 10 Dec, 2012 1 commit
-
-
Ben Straub committed
-
- 07 Dec, 2012 1 commit
-
-
There are many different broken filemodes in the wild so we need to protect against them and give something useful up the chain. Don't fail when reading a tree from the ODB but normalize the mode as best we can. As 664 is no longer a mode that we consider to be valid and gets normalized to 644, we can stop accepting it in the treebuilder. The library won't expose it to the user, so any invalid modes are a bug.
Carlos Martín Nieto committed
-
- 01 Dec, 2012 2 commits
- 29 Nov, 2012 1 commit
-
-
Philip Kelley committed
-
- 28 Nov, 2012 2 commits
-
-
There are many scattered functions that look into the contents of buffers to do various text manipulations (such as escaping or unescaping data, calculating text stats, guessing if content is binary, etc). This groups all those functions together into a new file and converts the code to use that. This has two enhancements to existing functionality. The old text stats function is significantly rewritten and the BOM detection code was extended (although largely we can't deal with anything other than a UTF8 BOM).
Russell Belfer committed -
Philip Kelley committed
-
- 27 Nov, 2012 6 commits
-
-
Russell Belfer committed
-
Ben Straub committed
-
Russell Belfer committed
-
Russell Belfer committed
-
Conflicts: src/branch.c tests-clar/refs/branches/create.c
Vicent Marti committed -
Ben Straub committed
-
- 23 Nov, 2012 1 commit
-
-
Without this change, any failed assertion in the second (or a later) test inside a test suite has a chance of double deleting memory, resulting in a heap corruption. See #1096 for details. This leaves alone the test cases where we "just" use cl_git_sandbox_init() and cl_git_sandbox_cleanup(). These methods already take good care to not double delete a repository. Fixes #1096
Sascha Cunz committed
-
- 18 Nov, 2012 1 commit
-
-
As per core git.
Scott J. Goldman committed
-
- 17 Nov, 2012 2 commits
- 13 Nov, 2012 2 commits
-
-
Edward Thomson committed
-
Edward Thomson committed
-
- 11 Nov, 2012 1 commit
-
-
nulltoken committed
-
- 09 Nov, 2012 2 commits
-
-
* Rework GIT_DIRREMOVAL values to GIT_RMDIR flags, allowing combinations of flags * Add GIT_RMDIR_EMPTY_PARENTS flag to remove parent dirs that are left empty after removal * Add GIT_MKDIR_VERIFY_DIR to give an error if item is a file, not a dir (previously an EEXISTS error was ignored, even for files) and enable this flag for git_futils_mkpath2file call * Improve accuracy of error messages from git_futils_mkdir
Russell Belfer committed -
Fix libgit2/libgit2sharp#243
nulltoken committed
-
- 08 Nov, 2012 1 commit
-
-
nulltoken committed
-
- 02 Nov, 2012 1 commit
-
-
This fix makes libgit2 capable of parsing annotated tag objects that lack the optional message/description field. Previously, libgit2 treated this field as mandatory and raised a tag_error on such tags. However, the message field is optional. An example of such a tag is refs/tags/v2.6.16.31-rc1 in Linux: $ git cat-file tag refs/tags/v2.6.16.31-rc1 object afaa018cefb6af63befef1df7d8febaae904434f type commit tag v2.6.16.31-rc1 tagger Adrian Bunk <bunk@stusta.de> 1162716505 +0100 $
Erik van Zijst committed
-
- 01 Nov, 2012 1 commit
-
-
Vicent Marti committed
-
- 30 Oct, 2012 1 commit
-
-
Edward Thomson committed
-
- 26 Oct, 2012 1 commit
-
-
nulltoken committed
-
- 11 Oct, 2012 1 commit
-
-
nulltoken committed
-
- 09 Oct, 2012 1 commit
-
-
This started as a complex new test for checkout going through the "typechanges" test repository, but that revealed numerous issues with checkout, including: * complete failure with submodules * failure to create blobs with exec bits * problems when replacing a tree with a blob because the tree "example/" sorts after the blob "example" so the delete was being processed after the single file blob was created This fixes most of those problems and includes a number of other minor changes that made it easier to do that, including improving the TYPECHANGE support in diff/status, etc.
Russell Belfer committed
-
- 22 Sep, 2012 5 commits
-
-
Sascha Cunz committed
-
Sascha Cunz committed
-
Sascha Cunz committed
-
Adjusts refs::list test (including the comments) Adjusts objects::tags::list test
Sascha Cunz committed -
This patch changes the tag listing test helper to use a struct as input parameter, which tells what we exactly expect. As I don't think, we can rely on the fact that every os and every filesystem will report the tags in the same order, I made this code independent of the order that the tags are retrieved.
Sascha Cunz committed
-