Diff notification callback function.
The callback will be called for each file, just before the git_delta_t
gets inserted into the diff list.
When the callback:
- returns
<
0, the diff process will be aborted.
- returns > 0, the delta will not be inserted into the diff list, but the
diff process continues.
- returns 0, the delta is inserted into the diff list, and the diff process
continues.