Commits


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)


error: introduce got_error_prefix_errno for better errno messages


make got path APIs available to library consumers


fix allocation size in alloc_added_blob_tree_entry()


remove unnecessary allocation in match_ct_parent_path()


fix memleak in write_tree()


remove dead code


fix memleaks in write_tree()


stop caching head ref's value in struct got_worktree; may become stale


note potential problem in the existing out-of-dateness check


move out-of-dateness check to a helper function


handle blobs deleted in HEAD correctly in commit out-of-date check


ensure that commits use intended base blobs for changes


rename field in 'struct commitable'


commit against the HEAD commit, not the work tree's base commit


don't traverse into unmodified subtrees during commit


don't close a tree in the wrong place; fixes a bus error crash


fix bug in concurrent commit check and add another commit test


try to detect concurrent commits; not perfect yet (see comments)


fix perms in committed tree entries


update HEAD reference after commit


update fileindex after commit


don't visit added subtrees reundantly


report commit item status


add TODO comments