Commits


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)


make got path APIs available to library consumers


add APIs to change references


handle non-existent reference in got_ref_resolve() error path


implement support for packed refs in 'got ref -d'


fix uninitialized variable in insert_ref()


use sizeof instead of SHA1_DIGEST_LENGTH in memcpy


better malloc size idiom in insert_ref()


move assignment closer to check in parse_ref_file()


properly handle duplicates when calling insert_ref()


don't leak 'new' in insert_ref()


better fparseln error handling and memory leak fix in got_ref_list()


better foarseln() error handling in open_packed_ref()


plug memleak in alloc_ref()