Commits


Stop including <sys/syslimits.h> directly. POSIX says the limits defined there are available from <limits.h>, which almost all affected source files already included anyway. ok millert stsp


do not rely on <zlib.h> to pull in <unistd.h> ok stsp


remove got_packidx_get_object_idx_sha1(); it is not actually needed


include the relevant object ID in NO_OBJ error messages where possible


move functions from privsep.c to the helpers which use them where possible


remove GOT_ERR_NOT_ABSPATH and fix existing users to deal with absolute paths


when "bad path" errors occur, always show the path in question


add support for first-parent history traversal to got-read-pack


add copyright year for files already touched in 2020


rename to parsed_tree_entries_free for clarity (don't use with got_tree_object)


plug a memory leak; parsed tree entries were not freed


reduce the amount of memcpy() and strdup() while parsing tree entries


cache delta data buffers in an LRU cache


stop storing decompressed delta data in struct got_delta; fetch it on demand


include <limits.h> instead of <sys/limits.h>; patch by Thomas Klausner