Commit Briefs

c77e00b3da Thomas Adam

allow got_object_parse_tree to reuse entries buffer allocations for speed

ok millert@


405ceee385 Thomas Adam

remove unnecessary includes of got_lib_privsep.h


b6b86fd1b9 Thomas Adam

remove trailing whitespace; patch by Josiah Frentsos


8b925c6ccd Thomas Adam

portable: add back sys/queue.h

Now that the handling of including sys/queue.h is better, there's no need to remove those lines from the source. Copy the location of those original sys/queue.h lines from upstream at the same line number, so as to avoid any conflicts in the future.


78e7b7b857 Thomas Adam

parse tree entries into an array instead of a pathlist

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


ec242592d3 Thomas Adam

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@


9b31ed6506 Thomas Adam

fix loose object file header parser for zero-length headers

ok millert tracey



7df0b8563d Thomas Adam

portable: tree/queue header fixes

sys/{tree,queue}.h are looked up via configure, and therefore are included via that mechanism.


f8bb1d3e37 Thomas Adam

Revert "cache raw objects in order to speed up gotadmin pack"

This reverts commit c565dfd37a157bab9556aceac96ff27d64525fc9.


c565dfd37a Thomas Adam

cache raw objects in order to speed up gotadmin pack



b347007e16 Thomas Adam

portable: update to handle bloom, etc

Update portable to support changes for bloom, etc.



8ab9215ce4 Thomas Adam

cache raw objects in order to speed up gotadmin pack



dbaa2362d1 Thomas Adam

match the unsigned char type used by the zlib interface

ok stsp


92a9e85d28 Thomas Adam

portable: add FreeBSD support

This adds the capability to compile got-portable on FreeBSD.


dd038bc6ec Thomas Adam

portable: initial Linux compilation

This commit modifies the GoT main branch to be able to compile it under linux.


b9c41b542b 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@


dbdddfee14 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


74a2356f3b Stefan Sperling

add a user data pointer to struct got_object_qid

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


9dbd8627b9 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


5a8b373cd0 Stefan Sperling

fix parsing of tag objects which lack a tag message

This problem could be triggered with the u-boot repository: $ git clone --bare https://gitlab.denx.de/u-boot/u-boot.git $ got log -r u-boot.git got-read-pack: bad object data got: bad object data $