Commit Briefs


718ef3e9e8 Stefan Sperling

simplify cleanup code paths in got_path_find_prog()


202329ae1b Stefan Sperling

fix some more occurrences of potential errno clobbering


466d3b326f Stefan Sperling

remove redundant strlen() calls from got_path_cmp()


f2b16adaed Stefan Sperling

cache path length in struct got_pathlist_entry


d572f5860a Stefan Sperling

eliminate strlen() calls during fileindex rb tree searches



f2ea84fab9 Stefan Sperling

make 'got update' accept mulitple path arguments


72ea6654e7 Stefan Sperling

add support for multiple path arguments to 'got status'


49aa539ae9 Stefan Sperling

remove got_path_normalize(); pointless and unused


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()