libgit2/tests/odb
Vicent Marti 9a78665005 odb: Handle corner cases in git_odb_expand_ids
The old implementation had two issues:

1. OIDs that were too short as to be ambiguous were not being handled
properly.

2. If the last OID to expand in the array was missing from the ODB, we
would leak a `GIT_ENOTFOUND` error code from the function.
2016-03-09 11:00:27 +01:00
..
backend Plug a few leaks in the tests 2014-03-07 16:03:15 +01:00
alternates.c git_futils_mkdir_*: make a relative-to-base mkdir 2015-09-17 10:00:35 -04:00
emptyobjects.c odb: git_odb_object contents are never NULL 2014-11-21 14:09:53 +01:00
foreach.c path: error out if the callback returns an error 2015-06-06 03:55:28 +02: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 odb: Handle corner cases in git_odb_expand_ids 2016-03-09 11:00:27 +01: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 odb: Prioritize alternate backends 2015-10-14 20:53:01 +02:00
streamwrite.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00