Commit Briefs

62136d3a8b Stefan Sperling

allow for custom diff header labels


f78b0693d7 Stefan Sperling

show blob IDs in diff header


8ba9a21905 Stefan Sperling

remove diff_args from global state as well


1c7f05204c Stefan Sperling

store stat buffers in diff_state rather than diff_args


ed9e98a87f Stefan Sperling

store global diff state in memory provided by caller


dae2fc5945 Stefan Sperling

move more globals into struct diff_state


8020fd50b0 Stefan Sperling

move 'file' array into diff state


e04c4b2b1c Stefan Sperling

wrap global diff state in a struct


cb056f1e59 Stefan Sperling

wrap global diff arguments in a struct


7d283eeedc Stefan Sperling

add and test basic blob diffing functionality


574ed2c37d Stefan Sperling

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


68482ea3f5 Stefan Sperling

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


30b4bb7345 Stefan Sperling

remove a debug printf


f715ca7f09 Stefan Sperling

move printing of tree objects into regression test


0ffeb3c2d8 Stefan Sperling

parse and print tree objects


4684ea1037 Stefan Sperling

remove commented dead code


ad3a03de37 Stefan Sperling

remove unused union 'obj' from struct got_object


a0448d6073 Stefan Sperling

remove an unused function


bfab4d9a43 Stefan Sperling

make our test display the entire commit log


d8871cadcf Stefan Sperling

rename test


1c852fbe88 Stefan Sperling

move some of the test code to a helper function


47cbebdb27 Stefan Sperling

close commit object


d1cda8264f Stefan Sperling

parse commit objects


6332351956 Stefan Sperling

avoid repeated strlen() calls


ab9a70b228 Stefan Sperling

parse object header