libgit2/tests/odb
Russell Belfer 8949907887 Fix a number of git_odb_exists_prefix bugs
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.
2014-03-10 11:34:50 -07:00
..
backend Plug a few leaks in the tests 2014-03-07 16:03:15 +01:00
alternates.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
foreach.c Remove converting user error to GIT_EUSER 2013-12-11 10:57:49 -08:00
loose_data.h Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
loose.c Fix a number of git_odb_exists_prefix bugs 2014-03-10 11:34:50 -07:00
mixed.c Add exists_prefix to ODB backend and ODB API 2014-03-04 15:34:23 -08:00
pack_data_one.h Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
pack_data.h Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
packed_one.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
packed.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
sorting.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
streamwrite.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00