Commit Briefs

joshua stein

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)



Stefan Sperling

add APIs to change references




Stefan Sperling

fix uninitialized variable in insert_ref()



Stefan Sperling

better malloc size idiom in insert_ref()




Stefan Sperling

don't leak 'new' in insert_ref()




Stefan Sperling

plug memleak in alloc_ref()


Stefan Sperling

plug memleak in got_ref_resolve()



Stefan Sperling

plug two memory leaks when refs get closed


Stefan Sperling

introduce got_path_dirname()