summaryrefslogtreecommitdiff
path: root/tests-clar/odb/mixed.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename tests-clar to testsBen Straub2013-11-141-93/+0
|
* odb: free object data when id is ambiguousCarlos Martín Nieto2013-08-121-0/+1
| | | | | By the time we recognise this as an ambiguous id, the object's data has been loaded into memory. Free it when returning EABMIGUOUS.
* odb_pack: handle duplicate objects from different packsBrodie Rao2013-08-081-0/+3
| | | | | | | This is based on 24634c6fd02b2240e4a93fad70a08220f8fb793a. This also corrects an issue with error codes being mixed up with the number of found objects.
* More tests for ambiguous OIDs across packsRussell Belfer2013-08-051-0/+64
| | | | | | | The test coverage for ambiguous OIDs was pretty thin. This adds a bunch of new objects both in packs, across packs, and loose that match to 8 characters so that we can test various cases of ambiguous lookups.
* Reset all static variables to NULL in clar's __cleanupSascha Cunz2012-11-231-0/+1
| | | | | | | | | | | | 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
* clar: Fix warningVicent Martí2012-05-161-1/+0
|
* Handle duplicate objects from different backends in git_odb_read_prefix().Han-Wen Nienhuys2012-05-121-0/+25