5 years ago 63da309a4f Stefan Sperling
tree entries are sorted, so find_entry_by_name() can exit early
5 years ago 0845193829 Stefan Sperling
no need to zero path during allocation in get_packfile_path()
5 years ago f054b67ad0 Stefan Sperling
remove object_idcache; use object_idset instead
5 years ago 984e8a45c4 Stefan Sperling
implement object idset with a red-black tree
5 years ago 2969636801 Stefan Sperling
rename local variable in got_object_tree_path_changed()
5 years ago 41fa143713 Stefan Sperling
back out mini-commits; no significant performance difference
5 years ago 710f3f4e51 Stefan Sperling
make got-read-pack pre-seed the main process mini commit cache
5 years ago 05e1230b0e Stefan Sperling
rename got_commit_object_mini to got_mini_commit_object
5 years ago e32baab7e1 Stefan Sperling
add an object cache for mini commits
5 years ago 7762fe12f8 Stefan Sperling
add a mini-commit object for use by commit graph
5 years ago 7788015835 Stefan Sperling
move code not used by libexec tools out of object_parse.c
5 years ago 2673a8da9c Stefan Sperling
whitespace
5 years ago 298a4a4bd4 Stefan Sperling
avoid unnecessary strlen() call in find_entry_by_name()
5 years ago d9e7e1f62a Stefan Sperling
match tree entries exactly, not by prefix, in find_entry_by_name()
5 years ago 71eb0e7ff2 Stefan Sperling
eliminate redundant cache search in got_object_open_as_tree()
5 years ago 434025f312 Stefan Sperling
eliminate redundant cache search in got_object_open_as_commit()
5 years ago e8eb494afa Stefan Sperling
check caches first in got_object_open_as_{tree,commit}()
5 years ago 59790a3251 Stefan Sperling
search pack index before doing a stat for loose objects
5 years ago 65a9bbe945 Stefan Sperling
avoid strdup in got_object_id_by_path() and got_object_tree_path_changed()
5 years ago a31cea734b Stefan Sperling
fix leaked trees in got_object_tree_path_changed()
5 years ago f970fa8a98 Stefan Sperling
fix filtering for directory paths in 'got log'
5 years ago 07862c206e Stefan Sperling
introduce got_object_tree_path_changed() and use it in 'got log'
5 years ago 27d434c2f2 Stefan Sperling
replace got_object_open_by_path() with got_object_id_by_path()
5 years ago 6402fb3cc1 Stefan Sperling
change got_object_get_id() semantics; avoids pointless allocations
5 years ago 2ff12563f8 Stefan Sperling
fix 'make PROFILE=1' build