5 years ago Stefan Sperling
add custom error code for 'no such tree entry' errors
introduce got errors with custom messages; add one for ERR_NO_OBJ
tree entries are sorted, so find_entry_by_name() can exit early
no need to zero path during allocation in get_packfile_path()
remove object_idcache; use object_idset instead
implement object idset with a red-black tree
rename local variable in got_object_tree_path_changed()
back out mini-commits; no significant performance difference
make got-read-pack pre-seed the main process mini commit cache
rename got_commit_object_mini to got_mini_commit_object
add an object cache for mini commits
add a mini-commit object for use by commit graph
move code not used by libexec tools out of object_parse.c
whitespace
avoid unnecessary strlen() call in find_entry_by_name()
match tree entries exactly, not by prefix, in find_entry_by_name()
eliminate redundant cache search in got_object_open_as_tree()
eliminate redundant cache search in got_object_open_as_commit()
check caches first in got_object_open_as_{tree,commit}()
search pack index before doing a stat for loose objects
avoid strdup in got_object_id_by_path() and got_object_tree_path_changed()
fix leaked trees in got_object_tree_path_changed()
fix filtering for directory paths in 'got log'
introduce got_object_tree_path_changed() and use it in 'got log'
replace got_object_open_by_path() with got_object_id_by_path()