6 years ago Stefan Sperling
use binary search to find objects in pack index
reduce object cache sizes
fix mem leak introduced with caching: actually close objects
add some disabled refcount debug code
size object caches independently of each other
add a commit cache as well
no need to manually count elements of a set
add a tree object cache to struct got_repository
introduce struct got_object_cache
remove unused field of struct got_objcache_entry
implement repository object cache via object_idset
fix got_object_idset_remove_random() for single-element set
init output param in got_object_idset_remove()
make data output param of got_object_idset_remove_random() optional
allow got_object_idset_remove() to retreive data pointer
fix leak in got_object_idset_remove()
introduce got_object_idset_remove_random()
undo previous; this approach won't work
allow removing an unspecified element with got_object_idset_remove()
remove debug output
add a very simple object cache
init output param of got_object_open_as_*
remove left-over debug code
make annotate_line() non-fatal; handles files getting short
simplify blame_open(): pcommit is not required