6 years ago 1943de0147 Stefan Sperling
add a commit cache as well
6 years ago a9bf0c2c43 Stefan Sperling
no need to manually count elements of a set
6 years ago f6be5c308a Stefan Sperling
add a tree object cache to struct got_repository
6 years ago 54f20211c5 Stefan Sperling
introduce struct got_object_cache
6 years ago ebfa99d6a2 Stefan Sperling
remove unused field of struct got_objcache_entry
6 years ago 50bc349d77 Stefan Sperling
implement repository object cache via object_idset
6 years ago a2965dbecb Stefan Sperling
fix got_object_idset_remove_random() for single-element set
6 years ago 441e144cdc Stefan Sperling
init output param in got_object_idset_remove()
6 years ago 433eb4d47a Stefan Sperling
make data output param of got_object_idset_remove_random() optional
6 years ago e7c810ea16 Stefan Sperling
allow got_object_idset_remove() to retreive data pointer
6 years ago 4a9bc5ca09 Stefan Sperling
fix leak in got_object_idset_remove()
6 years ago 27c21a117a Stefan Sperling
introduce got_object_idset_remove_random()
6 years ago ac4e69fbc9 Stefan Sperling
undo previous; this approach won't work
6 years ago c0cca3f632 Stefan Sperling
allow removing an unspecified element with got_object_idset_remove()
6 years ago 2d5e8ac71a Stefan Sperling
remove debug output
6 years ago 7bb0daa102 Stefan Sperling
add a very simple object cache
6 years ago 835e0dbdc8 Stefan Sperling
init output param of got_object_open_as_*
6 years ago 6fad634b7a Stefan Sperling
remove left-over debug code
6 years ago d157810fc8 Stefan Sperling
make annotate_line() non-fatal; handles files getting short
6 years ago ed77f2ae3c Stefan Sperling
simplify blame_open(): pcommit is not required
6 years ago 9b94757a3f Stefan Sperling
remove wrong comment
6 years ago 404c43c4fa Stefan Sperling
basic 'got blame' implementation
6 years ago a19581a24b Stefan Sperling
implement got_object_open_as_blob()
6 years ago 6760632185 Stefan Sperling
fix path length accounting in got_object_open_by_path()
6 years ago db37e2c0e0 Stefan Sperling
rename 'entry' to 'te' in got_object_open_by_path()