Commit Briefs

21172b6740 Thomas Adam

Release 0.67 (tags/0.67)


1ee2d2bfee 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.


3a80116594 Thomas Adam

explicitly include <endian.h> for be32toh()


a6da50c1a3 Thomas Adam

bump version number


2e3ae81dc4 Thomas Adam

CHANGES for 0.67


641a8ee636 Thomas Adam

const-ify command and option tables

ok stsp


b0ca001af3 Thomas Adam

remove stray tab that snuck in


d356bf7597 Thomas Adam

display GMT offset in cat command

ok stsp


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


4049b748bf Thomas Adam

fix fd leak in got_fetch_pack, ok stsp@


9389bcf69b 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.



f9c2e8e5d5 Thomas Adam

reuse existing deltas when creating pack files

tested by thomas, naddy, and myself


d2f35ef7f7 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


90dfa2bf41 Thomas Adam

consistently match size of hash variables to that returned by murmurhash

ok millert stsp


ebdfb05bcd Thomas Adam

portable: add murmurhash2 to deltify test

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






8f666e6727 Thomas Adam

tweak error reporting due to invalid numbers

Use the same idiom as in the strtonum(3) manpage which produces a more readable error message. OK kn, stsp


9c8bf18964 Thomas Adam

set zlib output buffer length properly after resizing the output buffer

ok millert naddy


f6a55b4019 Thomas Adam

fix infinite loop in got-index-pack for pack files >= 4GB in size

Because of a missing range check our zlib wrapper would end up calling zlib over and over with zero bytes of input. Problem reported by semarie and naddy. Fixed with help from millert@. ok millert naddy


17431c138a Thomas Adam

improve error message due to malformed `author' in got.conf

tweak and ok stsp@


84bf00a657 Thomas Adam

improve 'got add' error message if file does not exist; reported by Timo Myyrä

ok tracey