Commit Briefs

Stefan Sperling

allow got_object_parse_tree to reuse entries buffer allocations for speed

ok millert@




Stefan Sperling

parse tree entries into an array instead of a pathlist

Avoids some extra malloc/free in a performance-critical path. ok op@


Stefan Sperling

inline struct got_object_id in struct got_object_qid

Saves us from doing a malloc/free call for every item on the list. ok op@


Stefan Sperling

fix loose object file header parser for zero-length headers

ok millert tracey






Christian Weisgerber

match the unsigned char type used by the zlib interface

ok stsp


Stefan Sperling

use less memory allocations when formatting log messages

Rewrite got_object_commit_get_logmsg() such that only one memory allocation is made when creating a pretty version of a log message. ok naddy@


Christian Weisgerber

switch from SIMPLEQ to equivalent STAILQ macros

The singly-linked tail queue macros were added to OpenBSD 6.9 and are more widely available on other systems. ok stsp


Stefan Sperling

add a user data pointer to struct got_object_qid

This will be required by a future 'gotadmin pack' command.


Stefan Sperling

tolerate tag objects which lack tagger timestamp information

Fixes interop with repos such as git://github.com/steveicarus/iverilog.git Found by + ok naddy