Commits


new realpath(3) doesn't like receiving an empty path as input


fix bug where match_loose_object() skipped some objects


fix detection of ambiguous object ID match with pack files


disambiguate abbreviated object IDs based on object type


plug leaks in got_repo_match_object_id_prefix()


put error checks in right order


stop matching loose objects once we've searched past the ID prefix


speed up matching of abbreviated commit IDs in pack files


introduce support for abbreviated object IDs


compare pointer against NULL, not 0


implement 'got init'


don't leak objects which can't be cached


replace got_pack_get_packfile_size() with simple fstat()


rename got_error_prefix_errno() to got_error_from_errno()


lock branch reference file during 'got commit' to prevent a race


open the file index just once when adding multiple files


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


omit unused mode argument to open(2)


fix bugs in got_repo_map_path() and add more related tests


read UUID back from work tree meta data


more specific mmap(2) failure checks


check for errors from close(2)


stop checking for a worktree in open_repo()


add read support for packed refs