Commits


fix some more occurrences of potential errno clobbering


initial 'got rebase' implementation


fix typo in error message and improve indentation


rename got_error_prefix_errno() to got_error_from_errno()


add got_commit_graph_find_youngest_common_ancestor()


identify an error source correctly


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


make advance_branch() search the smaller id set first


remove unnecessary graph search in advance_branch()


whitespace


rename got_commit_graph_node's commit_timestamp to timestamp


remove some unused cruft from commit graph


if-return-early instead of if-else in detect_changed_path()


don't open tree unnecessarily in detect_changed_path()


remove unreachable code


add_node() must remove freed nodes from graph in error path


don't add duplicates to commit graph's open branches set


fix comparison of parents content in advance_branch()


plug memory leaks in advance_branch()


add custom error code for 'no such tree entry' errors


introduce got errors with custom messages; add one for ERR_NO_OBJ


prevent free of bogus pointers via fetch_commits_from_open_branches()


remove premature optimization which resulted in buggy logic


avoid tips temp copy in fetch_commits_from_open_branches()