6 years ago 62136d3a8b Stefan Sperling
allow for custom diff header labels
6 years ago f78b0693d7 Stefan Sperling
show blob IDs in diff header
6 years ago 8ba9a21905 Stefan Sperling
remove diff_args from global state as well
6 years ago 1c7f05204c Stefan Sperling
store stat buffers in diff_state rather than diff_args
6 years ago ed9e98a87f Stefan Sperling
store global diff state in memory provided by caller
6 years ago dae2fc5945 Stefan Sperling
move more globals into struct diff_state
6 years ago 8020fd50b0 Stefan Sperling
move 'file' array into diff state
6 years ago e04c4b2b1c Stefan Sperling
wrap global diff state in a struct
6 years ago cb056f1e59 Stefan Sperling
wrap global diff arguments in a struct
6 years ago 7d283eeedc Stefan Sperling
add and test basic blob diffing functionality
6 years ago 574ed2c37d Stefan Sperling
add some unmodified files from /usr/src/usr.bin/diff/
6 years ago 68482ea3f5 Stefan Sperling
implement open/close for blobs; add test which prints one
6 years ago 30b4bb7345 Stefan Sperling
remove a debug printf
6 years ago f715ca7f09 Stefan Sperling
move printing of tree objects into regression test
6 years ago 0ffeb3c2d8 Stefan Sperling
parse and print tree objects
6 years ago 4684ea1037 Stefan Sperling
remove commented dead code
6 years ago ad3a03de37 Stefan Sperling
remove unused union 'obj' from struct got_object
6 years ago a0448d6073 Stefan Sperling
remove an unused function
6 years ago bfab4d9a43 Stefan Sperling
make our test display the entire commit log
6 years ago d8871cadcf Stefan Sperling
rename test
6 years ago 1c852fbe88 Stefan Sperling
move some of the test code to a helper function
6 years ago 47cbebdb27 Stefan Sperling
close commit object
6 years ago d1cda8264f Stefan Sperling
parse commit objects
6 years ago 6332351956 Stefan Sperling
avoid repeated strlen() calls
6 years ago ab9a70b228 Stefan Sperling
parse object header