Commits


release the memory used by the object cache Leak spotted by valgrind. ok stsp@


fix NULL deref in the object cache debug code; ok stsp@ it's not in code compiled by default as it's under GOT_OBJ_CACHE_DEBUG.


keep track of the size of the largest object which entered an object cache


mark check_refcount as static needed because of -Wmissig-prototypes; ok stsp@


object cache: if kicking an object out to make space, reuse its mem allocation


build with -Wmissing-prototypes ok stsp@


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@


wrap overlong lines


cache raw objects in order to speed up gotadmin pack


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


increase tag cache size; makes tog more responsive when many tags exist


convert tree entries from SIMPLEQ to an array


remove obj->path_packfile which is unused nowadays; saves a few free() calls


stop storing decompressed delta data in struct got_delta; fetch it on demand


fix build on OpenBSD/sparc64 (gcc)