Commits


generalize got_diff_tree() by adding a diff output callback


whitespace formatting fixes in include/


make 'got diff' show local changes in work tree


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


show commit timestamps in diff headers


remove struct got_object from public library API


use a constant for max diff context size


make amount of diff context configurable at API level


display file paths in diffs instead of blob SHA1s


move common diff helpers from got and tog into lib/diff.c


document the current public API


add output file argument to got_diff_tree


add some unimplemented stubs for tree diffing


allow for custom diff header labels


store global diff state in memory provided by caller


add and test basic blob diffing functionality