summaryrefslogtreecommitdiff
path: root/tests-clar/commit/commit.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename ref and reflog apis for consistencyBen 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
* 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>