Commits


make open_ref() tolerate missing reference dirs and files


allow single-component reference names with got_ref_alloc()


rename got_error_prefix_errno() to got_error_from_errno()


fix leftover lockfiles from parse_ref_file()


fix locking of packed ref file in got_ref_open()


handle well-known refs more obviously in got_ref_open()


don't hide errors in got_ref_open()


lock branch reference file during 'got commit' to prevent a race


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()