Commits


CHANGES for 0.67


const-ify command and option tables ok stsp


remove stray tab that snuck in


display GMT offset in cat command ok stsp


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@


fix fd leak in got_fetch_pack, ok stsp@


fix pack.sh test failure from reuse-deltas patch by tweaking progress output


reuse existing deltas when creating pack files tested by thomas, naddy, and myself


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


consistently match size of hash variables to that returned by murmurhash ok millert stsp


new test: `got diff' on files matched by an ignore pattern


use murmurhash instead of sha1 for deltification blocks; suggested by ori


reduce minimum deltification chunk size to 32; suggested by ori


fix 'got diff' on files which match an ignore pattern; found by Omar Polo


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


set zlib output buffer length properly after resizing the output buffer ok millert naddy


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


improve error message due to malformed `author' in got.conf tweak and ok stsp@


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


fix loose object file header parser for zero-length headers ok millert tracey


fix 'got status' reporting all directories on NFS mounts as unversioned Problem found and fix tested by Ted Bullock. ok millert, naddy


fix wrong imsg name in errors raised by got_privsep_send_tree_req()


remove unnecessary local variable from got_privsep_get_imsg_obj()


add missing initialization of delta list in got_privsep_get_imsg_obj()


fix double-free and double-close issues in error paths of got_packidx_open()