5 years ago Stefan Sperling
write commit objects
fix bogus sha1 calculation in got_object_tree_create()
rename create_loose_object() to create_object_file()
eliminate extra memcpy in got_object_{blob,tree}_create()
introduce got_object_tree_create()
better variable names in create_loose_object()
move code for creating loose objects to a separate function
create blob's parent dir if missing in got_object_blob_create()
flip order of arguments to got_object_blob_create()
fix objpath memleak in got_object_blob_create()
blob content file doesn't need a path in got_object_blob_create()
store header length in variable in got_object_blob_create()
don't forget to write header in got_object_blob_create()
eliminate unnecessary fdopen() in got_object_blob_create()
avoid double file close in got_object_blob_create()
introduce got_object_blob_create()