Commits


unsigned char casts for isspace()


fix extra whitespace in rebased log messages Trim leading and trailing whitespace from log messages when creating commits. Fixes a rebase issue but should be a good idea in general.


rename got_error_prefix_errno() to got_error_from_errno()


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


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