Commit Briefs

bdc78ba63c Josh Rickmar

display GMT offset in cat command

ok stsp


8934ea8b1b Omar Polo

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@


688fe08b75 Omar Polo

fix fd leak in got_fetch_pack, ok stsp@



67fd684965 Stefan Sperling

reuse existing deltas when creating pack files

tested by thomas, naddy, and myself


b593496508 Christian Weisgerber

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


f602742610 Christian Weisgerber

consistently match size of hash variables to that returned by murmurhash

ok millert stsp






5a20d08d65 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


d75b4088b0 Stefan Sperling

set zlib output buffer length properly after resizing the output buffer

ok millert naddy


a9bd296d05 Stefan Sperling

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


1d918cf99e Omar Polo

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

tweak and ok stsp@


9b4603c029 Stefan Sperling

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

ok tracey


c7b1723265 Stefan Sperling

fix loose object file header parser for zero-length headers

ok millert tracey


a47330a24a Stefan Sperling

fix 'got status' reporting all directories on NFS mounts as unversioned

Problem found and fix tested by Ted Bullock. ok millert, naddy






692bdcc498 Stefan Sperling

make 'got rm' report an "unexpected status" error for unversioned files

ok millert@


4e12cd97c0 Stefan Sperling

make 'got rm' behave like rm(1) for paths found missing on disk

ok millert@


4362cf9c24 Tracey Emery

style