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