summaryrefslogtreecommitdiff
path: root/tests-clar/object/lookup.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename tests-clar to testsBen Straub2013-11-141-65/+0
|
* Remove git_object_oid2typePhilip Kelley2012-11-291-11/+0
|
* Push! By schu, phkelley, and congyiwu, et alPhilip Kelley2012-11-281-0/+12
|
* Reset all static variables to NULL in clar's __cleanupSascha Cunz2012-11-231-1/+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
* object: make git_object_lookup() return GIT_ENOTFOUND when searching for an ↵nulltoken2012-05-111-0/+26
| | | | | | | | | existing object by specifying an incorrect type This fix complements cb0ce16bbe8efe2098ef9cfffcf158301b036565 and cover the following additional use cases - retrieving an object which has been previously searched, found and cached - retrieving an object through an non ambiguous abbreviated id
* Clean up warnings and testsRussell Belfer2012-05-081-4/+6
|
* object: make git_object_lookup() return GIT_ENOTFOUND when searching for an ↵nulltoken2012-05-081-0/+35
existing object by specifying an incorrect type