libgit2/tests/object
Patrick Steinhardt 35079f507b odb: add option to turn off hash verification
Verifying hashsums of objects we are reading from the ODB may be costly
as we have to perform an additional hashsum calculation on the object.
Especially when reading large objects, the penalty can be as high as
35%, as can be seen when executing the equivalent of `git cat-file` with
and without verification enabled. To mitigate for this, we add a global
option for libgit2 which enables the developer to turn off the
verification, e.g. when he can be reasonably sure that the objects on
disk won't be corrupted.
2017-04-28 14:05:45 +02:00
..
blob tests: blob: remove unused callback function 2016-08-09 10:09:23 +02:00
commit message: don't assume the comment char 2014-05-18 10:06:49 +02:00
raw Factor 40 and 41 constants from source. 2014-09-16 13:07:04 +02:00
tag tag: ignore extra header fields 2016-04-25 12:18:32 +02:00
tree tree: add a failing test for unsorted input 2016-11-14 12:22:20 +01:00
cache.c threads: split up OS-dependent thread code 2016-06-20 19:32:59 +02:00
lookup.c odb: add option to turn off hash verification 2017-04-28 14:05:45 +02:00
lookupbypath.c Introduce cl_assert_equal_oid 2014-07-01 14:40:16 -04:00
message.c message: don't assume the comment char 2014-05-18 10:06:49 +02:00
peel.c peel: reject bad queries with EINVALIDSPEC 2014-11-22 18:55:22 +01:00
shortid.c Add failing test for git_object_short_id 2014-03-10 11:35:14 -07:00