2 years ago 9985f404ff Stefan Sperling
Avoids some extra malloc/free in a performance-critical path. ok op@
2 years ago c0df59665d Stefan Sperling
wrap overlong lines
3 years ago d5c81d448a Stefan Sperling
verify object ID checksums while loose objects are being accessed
4 years ago 5aa813935b Stefan Sperling
add copyright year for files already touched in 2020
4 years ago b87b4170d4 Stefan Sperling
rename to parsed_tree_entries_free for clarity (don't use with got_tree_object)
4 years ago b64b1f953a Stefan Sperling
plug a memory leak; parsed tree entries were not freed
4 years ago 56e0773df7 Stefan Sperling
convert tree entries from SIMPLEQ to an array
4 years ago 3022d2728c Stefan Sperling
reduce the amount of memcpy() and strdup() while parsing tree entries
5 years ago ed17542722 Stefan Sperling
more progress on generating new tree entries
5 years ago 9f2369b01b Stefan Sperling
make all the read_privsep functions local to object.c
5 years ago ebc55e2dfc Stefan Sperling
eliminate got_object_open() round-trip when opening blobs
5 years ago 268f7291e6 Stefan Sperling
eliminate got_object_open() round-trip when opening tags
5 years ago 13c729f710 Stefan Sperling
eliminate got_object_open() round-trip when opening trees
5 years ago a158c90155 Stefan Sperling
make all the _packed_read_privsep() functions local to object.c
5 years ago 1785f84a3a Stefan Sperling
eliminate got_object_open() round-trip when opening commits
5 years ago f4a881ce8b Stefan Sperling
more support for tag objects; new code is not yet reachable
5 years ago 5df4932d8e Stefan Sperling
improve handling of struct got_object_qid allocations
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 7762fe12f8 Stefan Sperling
add a mini-commit object for use by commit graph
5 years ago 3840f4c96d Stefan Sperling
fix "rpath" pledge violation in got-read-pack
5 years ago 55da3778cb Stefan Sperling
read packed blobs with privsep
5 years ago e78854052d Stefan Sperling
read packed trees with privsep
5 years ago cfd633c2f1 Stefan Sperling
read packed commits with privsep