summaryrefslogtreecommitdiff
path: root/tests-clar/commit
Commit message (Collapse)AuthorAgeFilesLines
* Remove GIT_SIGNATURE_VERSION and friendsBen Straub2012-12-031-2/+2
|
* Add version fields and init macros for public input structs.Ben Straub2012-11-301-2/+2
|
* Rename ref and reflog apis for consistencyBen Straub2012-11-272-4/+4
|
* Reset all static variables to NULL in clar's __cleanupSascha Cunz2012-11-233-5/+16
| | | | | | | | | | | | 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
* Merge pull request #805 from nulltoken/fix/revwalk-email-parsingVicent Martí2012-07-121-17/+31
|\ | | | | Fix revwalk email parsing
| * signature: prevent angle bracket usage in identitynulltoken2012-07-111-17/+31
| |
* | commit: introduce git_commit_nth_gen_ancestor()nulltoken2012-07-121-0/+57
|/
* errors: Rename the generic return codesVicent Martí2012-05-181-2/+2
|
* tests-clar/commit: fix memory leaksschu2012-04-031-8/+11
| | | | Signed-off-by: schu <schu-github@schulog.org>
* tests: Cleanup & fix test suiteVicent Martí2012-04-031-4/+0
|
* Ported t04_commit.c to Clar.Ben Straub2012-03-203-0/+556
| | | | | | | | | | Created a copy of tests/resources/testrepo.git that is compatible with the Clar sandboxing helpers. Restructured commit test suites to use Clar sandbox helpers. Now using typed data arrays rather than lots of macros to define test cases.
* commit: actually allow yet to be born update_refschu2012-02-151-0/+44
git_commit_create is supposed to update the given reference "update_ref", but segfaulted in case of a yet to be born reference. Fix it. Signed-off-by: schu <schu-github@schulog.org>