Commits


implement raw object data access; this will be required for packing


make close(2) failure checks consistent; check 'close() == -1' everywhere ok millert, naddy


make fclose(3) failure checks consistent; check 'fclose() == EOF' everywhere ok millert, naddy


indentation fixes


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