libgit2/tests/odb
Vicent Marti a0a1b19ab0 odb: Prioritize alternate backends
For most real use cases, repositories with alternates use them as main
object storage. Checking the alternate for objects before the main
repository should result in measurable speedups.

Because of this, we're changing the sorting algorithm to prioritize
alternates *in cases where two backends have the same priority*. This
means that the pack backend for the alternate will be checked before the
pack backend for the main repository *but* both of them will be checked
before any loose backends.
2015-10-14 20:53:01 +02: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 Introduce cl_assert_equal_oid 2014-07-01 14:40:16 -04: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