Commit Briefs

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 $



23c57b285f Christian Weisgerber

Stop including <sys/syslimits.h> directly.

POSIX says the limits defined there are available from <limits.h>, which almost all affected source files already included anyway. ok millert stsp


ef744db382 Stefan Sperling

in got_object_commit_get_logmsg(), handle log messages which lack '\n'

found by tracey's scan-build





5aa813935b Stefan Sperling

add copyright year for files already touched in 2020



b64b1f953a Stefan Sperling

plug a memory leak; parsed tree entries were not freed


56e0773df7 Stefan Sperling

convert tree entries from SIMPLEQ to an array






13555e04f0 Sebastien Marie

Show only whitelisted commit headers in 'got log'

Generic way to deal with gpgsig header or extra headers added by some tools. All headers still available via 'got cat' ok stsp@


4793d91bf3 Stefan Sperling

have got_object_parse_* check for zero-length input




5943eee280 Stefan Sperling

strip Git GPG signatures from log messages


ca0d469cb4 Stefan Sperling

don't forget to do refcounting in got_object_tag_close()


a0de39f397 Stefan Sperling

fix build on OpenBSD/sparc64 (gcc)