Iterate over a diff list issuing callbacks.
If the hunk and/or line callbacks are not NULL, then this will calculate text diffs for all files it thinks are not binary. If those are both NULL, then this will not bother with the text diffs, so it can be efficient.