Commit Briefs

Thomas Adam

portable: support NetBSD

This adds support for NetBSD, using the following external dependencies: libuuid ncursesw There is no CI (yet) as enabling that on Cirrus-CI requires some work, so for now, these builds will be run manually before releases. The test suite will also need tweaking to be fully supported but the key tests are supported for now.


Thomas Adam

portable: CI: add MacOS definition

Enable CI builds for MaxcOS on CirrusCI.


Thomas Adam

portable: include support for MacOS

This adds support for MacOS (Monteray onward, although should work on older MacOSes). The BSD wrapper for poll/ppoll has been lifted from the work the folks over at OpenSSH have done -- thanks!


Thomas Adam

portable: make UUID includes generic

Move the detection of UUID header files to be included portably. This will have no functional effect until MacOS detection is put in place.


Thomas Adam

portable: update Makefile.am

Update got-{fetch,index,send}'s Makefile.am to include ratelimit.c for progress output.





Thomas Adam

Release 0.67 (tags/0.67)


Thomas Adam

portable: pack-create: remove endian.h

endian.h is portably included on non-OpenBSD systems, so let that mechanism determine if it should be included or not.



Thomas Adam

bump version number


Thomas Adam

CHANGES for 0.67


Thomas Adam

const-ify command and option tables

ok stsp


Thomas Adam

remove stray tab that snuck in


Thomas Adam

display GMT offset in cat command

ok stsp


Thomas Adam

factorize imsg_clear calls after imsg_flush failures

imsg_clear frees and closes resources allocated as part of enqueueing imsgs so it's a no-op after reads. discussed with and ok stsp@



Thomas Adam

portable: fix use of d->namlen

As done elsewhere, d->namlen is not a portable field from readdir, therefore simualte this via the strlen of the directory name instead.



Thomas Adam

reuse existing deltas when creating pack files

tested by thomas, naddy, and myself


Thomas Adam

shrink the width of formatted output fields to their expected size

Replace FMT_SCALED_STRSIZE with (FMT_SCALED_STRSIZE - 2) as field width when formatting output for printing. FMT_SCALED_STRSIZE includes space for a nul byte and a minus sign. Output values are expected to be always positive here. ok stsp


Thomas Adam

consistently match size of hash variables to that returned by murmurhash

ok millert stsp


Thomas Adam

portable: add murmurhash2 to deltify test

Add missing include for the deltify test now that it depends on murmurhash2.