summaryrefslogtreecommitdiff
path: root/tests/odb/loose.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix a number of git_odb_exists_prefix bugsRussell Belfer2014-03-101-10/+12
| | | | | | | | | | | | | | The git_odb_exists_prefix API was not dealing correctly when a later backend returned GIT_ENOTFOUND even if an earlier backend had found the object. Additionally, the unit tests were not properly exercising the API and had a couple mistakes in checking the results. Lastly, since the backends are not expected to behavior correctly unless all bytes of the short id are zero except for the prefix, this makes the ODB prefix APIs explicitly clear out the extra bytes so the user doesn't have to be as careful.
* Add exists_prefix to ODB backend and ODB APIRussell Belfer2014-03-041-0/+4
|
* Rename tests-clar to testsBen Straub2013-11-141-0/+146