5 years ago 90bdb554ae Stefan Sperling
expose a static helper function as got_object_get_path()
5 years ago a5b57ccf59 Stefan Sperling
omit unused mode argument to open(2)
5 years ago b7011c591b Stefan Sperling
fix double-free in error path of open_blob()
5 years ago a129376b6f Stefan Sperling
add initial implementation of 'got revert'
5 years ago 7baf5860e9 Stefan Sperling
avoid code duplication in error case of open_blob()
5 years ago 41496140bd Stefan Sperling
prevent double-close(2) of file descriptors passed in imsg
5 years ago 3a6ce05aff Stefan Sperling
check for errors from close(2)
5 years ago fb43ecf150 Stefan Sperling
check for errors from fclose()
5 years ago cbe7f84890 Stefan Sperling
check for fflush() errors
5 years ago 0bd18d379f Stefan Sperling
add potentially useful helpers for tag objects and refs
5 years ago 5d56da8198 Stefan Sperling
happy new copyright year
5 years ago ac544f8c6f Stefan Sperling
pass smallish blobs directly via imsg buffer
5 years ago de060dffe2 Stefan Sperling
handle zero-length files in open_blob() correctly
5 years ago 454a6b592b Stefan Sperling
fix fwrite() call in got_object_blob_dump_to_file()
5 years ago b675262576 Stefan Sperling
fix an unchecked fwrite() call in got_object_blob_dump_to_file()
5 years ago aea5f015fd Stefan Sperling
drop dead code from got_privsep_send_obj_req()
5 years ago 9f2369b01b Stefan Sperling
make all the read_privsep functions local to object.c
5 years ago ebc55e2dfc Stefan Sperling
eliminate got_object_open() round-trip when opening blobs
5 years ago 268f7291e6 Stefan Sperling
eliminate got_object_open() round-trip when opening tags
5 years ago 13c729f710 Stefan Sperling
eliminate got_object_open() round-trip when opening trees
5 years ago 8524ff9ab3 Stefan Sperling
don't clean up twice in start_pack_privsep_child()
5 years ago 711fb6e8a4 Stefan Sperling
de-duplicate some code I copied around in object.c
5 years ago a158c90155 Stefan Sperling
make all the _packed_read_privsep() functions local to object.c
5 years ago 6e72e6a3bf Stefan Sperling
there's no point in embedding the object header in commits
5 years ago 1785f84a3a Stefan Sperling
eliminate got_object_open() round-trip when opening commits