Commits


generalize got_diff_tree() by adding a diff output callback


use got_object_tree_find_entry() instead of local copy in diff.c


rename got_error_prefix_errno() to got_error_from_errno()


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


use correct diff header label for deletion in got_diff_blob_file()


add missing 'static' for local functions


check for errors from fclose()


remove a pointless error code


make 'got diff' show local changes in work tree


fix crash in blame since 18f4293943894155d5ccbdb423f1e8a2bb1e1d62


undo commit timestamps next to paths in diffs; they are redundant


show blob headers in diffs for added/deleted files


show commit timestamps in diff headers


remove struct got_object from public library API


make commit objects opaque in the library's API


move commit header printing in diffs out of the library


revert previous; it made a wrong assumption and broke diff


make diff's match_entry_by_name() exit early if possible


fix paths in diffs showing newly added trees


compare object IDs just once in diff_entry_old_new()


avoid a call to mktime() in commit graph's add_node()


make amount of diff context configurable at API level


don't crash in got_diff_tree() if trees are empty


tweak log message headers again