Commit Briefs

230a42bdc6 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)



324d37e7c7 Stefan Sperling

make got path APIs available to library consumers


8c4eabf208 Stefan Sperling

redo: fix tree_entry_dup error path


83a7ae6dd3 Stefan Sperling

revert previous


3ffe981f82 Stefan Sperling

fix tree_entry_dup error path


ed17542722 Stefan Sperling

more progress on generating new tree entries


90bdb554ae Stefan Sperling

expose a static helper function as got_object_get_path()


a5b57ccf59 Stefan Sperling

omit unused mode argument to open(2)


b7011c591b Stefan Sperling

fix double-free in error path of open_blob()


a129376b6f Stefan Sperling

add initial implementation of 'got revert'


7baf5860e9 Stefan Sperling

avoid code duplication in error case of open_blob()


41496140bd Stefan Sperling

prevent double-close(2) of file descriptors passed in imsg


3a6ce05aff Stefan Sperling

check for errors from close(2)


fb43ecf150 Stefan Sperling

check for errors from fclose()


cbe7f84890 Stefan Sperling

check for fflush() errors


0bd18d379f Stefan Sperling

add potentially useful helpers for tag objects and refs


5d56da8198 Stefan Sperling

happy new copyright year


ac544f8c6f Stefan Sperling

pass smallish blobs directly via imsg buffer


de060dffe2 Stefan Sperling

handle zero-length files in open_blob() correctly


454a6b592b Stefan Sperling

fix fwrite() call in got_object_blob_dump_to_file()



aea5f015fd Stefan Sperling

drop dead code from got_privsep_send_obj_req()


9f2369b01b Stefan Sperling

make all the read_privsep functions local to object.c


ebc55e2dfc Stefan Sperling

eliminate got_object_open() round-trip when opening blobs