Commits


improve wording of an error message


inform the user when switching branches


add cache debug output for too large elements


don't cache objects larger than 1MB


fix got_error_from_errno() arguments in inflate.c


set_max_datasize() should be a static function


no need to zero memory in got_inflate_to_mem_mmap()


no need to zero memory in got_inflate_to_mem_fd()


add a TODO item


increase GOT_INFLATE_BUFSIZE (trades memory usage for speed)


no need to zero memory in got_inflate_to_mem()


set datasize limit of got-read-pack helpers to maximum


fix double-frees in error path when resolving deltas fails


move a comment to a better place and expand it


NUL-terminate empty logmsg buffer for strlcat(3) Because the logmsg output buffer was not NUL-terminated after allocation, strlcat(3) could append log message contents copied from the temporary file at a wrong memory location. In the case observed by me, this bug resulted in a broken commit object.