Commits


plug memory leak in sort_tree_entries_the_way_git_likes_it()


sort tree object entries the way git likes it


initial 'got import' implementation


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


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