summaryrefslogtreecommitdiff
path: root/tests-clar/object/commit
Commit message (Collapse)AuthorAgeFilesLines
* Rename tests-clar to testsBen Straub2013-11-141-132/+0
|
* add an index_remove_bypath that removes conflicts, renamed add_from_workdir ↵Edward Thomson2013-01-121-1/+1
| | | | to match
* API updates for index.hBen Straub2012-11-271-1/+1
|
* Reset all static variables to NULL in clar's __cleanupSascha Cunz2012-11-231-0/+2
| | | | | | | | | | | | 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
* index: Fix testsVicent Marti2012-11-011-1/+1
|
* index refactoringEdward Thomson2012-10-291-2/+2
|
* message: reorganize testsnulltoken2012-10-261-65/+0
|
* Make git_message_prettify return bytes writtenRussell Belfer2012-08-141-15/+20
| | | | | | | | | If you want to be absolutely safe with git_message_prettify, you can now pass a NULL pointer for the buffer and get back the number of bytes that would be copied into the buffer. This means that an error is a non-negative return code and a success will be greater than zero from this function.
* Check prettify message output buffer after cleanupRussell Belfer2012-08-121-0/+60
| | | | This makes the message prettify buffer length check accurate.
* message: Expose git_message_prettify()nulltoken2012-06-191-2/+6
| | | | | | | | | | git_commit() and git_tag() no longer prettify the message by default. This has to be taken care of by the caller. This has the nice side effect of putting the caller in position to actually choose to strip the comments or not.
* Fix broken tests caused by no longer prettifying by defaultTim Clem2012-06-151-1/+1
|
* commit/tag: ensure the message is cleaned upnulltoken2012-05-071-1/+1
| | | | | | 'git commit' and 'git tag -a' enforce some conventions, like cleaning up excess whitespace and making sure that the last line ends with a '\n'. This fix replicates this behavior. Fix libgit2/libgit2sharp#117
* Fix unsigned/signed comparison on Windows in commitstagedfile.cScott J. Goldman2012-05-051-0/+8
|
* Rename the Clay test suite to ClarVicent Martí2012-01-241-0/+118
Clay is the name of a programming language on the makings, and we want to avoid confusions. Sorry for the huge diff!