Commit Briefs

c16dde50bb Stefan Sperling

allow diff API users to atomize files separately

This is a breaking API change (not that we care about that at this point). This can avoid redundant work spent on atomizing a file multiple times. There are use cases where one particular file must be compared to other files over and over again, such as when blaming file history. The old API gave access to both versions of the file to the atomizer just in case a future atomizer implementation needs this. This can still be achieved by passing a second file via the atomizer's private data pointer.




384c09ad05 Stefan Sperling

fix missing newline in ed script diff output


ede9a86acb Stefan Sperling

fix edscript diff output for empty files


b7ba71f0ee Stefan Sperling

add a diff output mode which produces simple ed(1) scripts