Commits


add optional 'consumed' output parameter to got_inflate_to_mem()


add copyright year for files already touched in 2020


plug a memory leak: got-read-commit forgot to close commits


fix memleak in error case of got-read-commit


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


rename got_error_prefix_errno() to got_error_from_errno()


while (1) -> for (;;)


got_error_from_errno -> got_error_prefix_errno also add got_error_prefix_errno2 and got_error_prefix_errno3 which should hopefully all be merged into a single function with variadic args (but can't alloc mem)


check for errors from close(2)


check for errors from fclose()


there's no point in embedding the object header in commits


eliminate got_object_open() round-trip when opening commits


don't be noisy on stderr when Ctrl-C is hit


abort checkout operations cleanly when Ctrl-C is hit


back out mini-commits; no significant performance difference