Commits


store stat buffers in diff_state rather than diff_args


store global diff state in memory provided by caller


move more globals into struct diff_state


move 'file' array into diff state


wrap global diff state in a struct


wrap global diff arguments in a struct


add and test basic blob diffing functionality


add some unmodified files from /usr/src/usr.bin/diff/


implement open/close for blobs; add test which prints one


remove a debug printf


move printing of tree objects into regression test


parse and print tree objects


remove commented dead code


remove unused union 'obj' from struct got_object


remove an unused function


make our test display the entire commit log


rename test


move some of the test code to a helper function


close commit object


parse commit objects


avoid repeated strlen() calls


parse object header


print the head revision


simplify get_refs_dir_path()


remove redundant tests