Commits


restore 8k buffer size for hashing file contents in got_object_blob_create()


add symlink support to 'got commit'


allow creation of commits which carry unmodified submodule tree entries along approach suggested by ori@ and matches how git9 behaves ok semarie@ (who can now work with Rust-related Git repos containing submodules)


write directory tree entry mode bits in the same way as Git does


normalize tree entry modes to 0100644 or 0100755 when writing tree objects semarie@ reported an error from go-git used by Cirrus CI: "57243613255d758e15b0f5ae1c960b970f0435f8: malformed mode (0100640)!" 'git fsck' has no problem with mode 0100640. But writing just the two most commonly used file modes should provide the best compatibility.


NAME_MAX does not account for a terminating NUL


convert tree entries from SIMPLEQ to an array


use correct label for author (aka tagger) info when writing tag objects


initial implementation of 'got tag' command


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