5 years ago b7cd37e556 Stefan Sperling
eliminate strlen() in got_object_id_by_path()
5 years ago 3b7f9878a3 Stefan Sperling
eliminate strlen() call in got_object_tree_path_changed()
5 years ago f4a881ce8b Stefan Sperling
more support for tag objects; new code is not yet reachable
5 years ago d14519756a Stefan Sperling
add custom error code for 'no such tree entry' errors
5 years ago 91a3d81fcf Stefan Sperling
introduce got errors with custom messages; add one for ERR_NO_OBJ
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()