Commits


implement 'got init'


mention where code for got_path_find_prog() came from


make 'got commit' look up EDITOR in PATH The previous code only worked if EDITOR contained an absolute path.


rename got_error_prefix_errno() to got_error_from_errno()


plug fd leak in got_path_dir_is_empty()


heed API namespace: got_dir_is_empty -> got_path_dir_is_empty


checkout: if worktree path exists and is empty, suppress mkdir failure


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)


introduce got_path_strip_trailing_slashes()


make got path APIs available to library consumers


fix problems with "/" in two path helper functions


add initial implementation of 'got revert'


return relative paths from got_path_skip_common_ancestor()


init output argument of got_path_skip_common_ancestor()


introduce got_path_dirname()