Commit Briefs

2c7829a4ca Stefan Sperling

implement 'got init'


0868043076 Stefan Sperling

mention where code for got_path_find_prog() came from


0ee7065d8d Stefan Sperling

make 'got commit' look up EDITOR in PATH

The previous code only worked if EDITOR contained an absolute path.


638f902404 Stefan Sperling

rename got_error_prefix_errno() to got_error_from_errno()


7f2a8dc2cb Stefan Sperling

plug fd leak in got_path_dir_is_empty()




230a42bdc6 joshua stein

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)


72151b04d0 Stefan Sperling

introduce got_path_strip_trailing_slashes()


324d37e7c7 Stefan Sperling

make got path APIs available to library consumers


eb4304b986 Stefan Sperling

fix problems with "/" in two path helper functions


a129376b6f Stefan Sperling

add initial implementation of 'got revert'


5e3ce57ad8 Stefan Sperling

return relative paths from got_path_skip_common_ancestor()


db5ba8eda2 Stefan Sperling

init output argument of got_path_skip_common_ancestor()


d1667f0dbb Stefan Sperling

introduce got_path_dirname()


5e1c9f2326 Stefan Sperling

fix dirname() usage errors around got_path_mkdir()



0cd1c46a9e Stefan Sperling

create references to base commits of got worktrees


3d8df59c13 Stefan Sperling

add a caller-provided data pointer to path list elements



e08cc72dc0 Stefan Sperling

add a pathlist API


5d56da8198 Stefan Sperling

happy new copyright year


1beed9999f Stefan Sperling

rename got_compare_paths to got_path_cmp



e01590338c Stefan Sperling

generalize the pathset's path comparison function