6 years ago c7020aea63 Stefan Sperling
increase buffer sizes for blob diffing
6 years ago 365fb43632 Stefan Sperling
implement diff_deleted_blob
6 years ago a78522637b Stefan Sperling
handle fdopen() failure in opentemp()
6 years ago cb74ff2103 Stefan Sperling
pass output file to diffreg
6 years ago 6a213ccb7e Stefan Sperling
implement diff_modified_blob
6 years ago 4e22badc0d Stefan Sperling
implement diff_added_blob
6 years ago 0cb61c4741 Stefan Sperling
whitespace
6 years ago f9d67749a9 Stefan Sperling
move tempfile creation out of got_diffreg()
6 years ago 413ea19d0e Stefan Sperling
simplify
6 years ago 4209f7906d Stefan Sperling
fix logic error
6 years ago 474b4f9423 Stefan Sperling
add some unimplemented stubs for tree diffing
6 years ago 697f44709c Stefan Sperling
add todo comment about diffreg() arguments
6 years ago 9aa1fd7570 Stefan Sperling
add a comment about xmalloc; it needs to go away
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