When applying a patch, callback that will be made per hunk.
When the callback:
- returns < 0, the apply process will be aborted.
- returns > 0, the hunk will not be applied, but the apply process
continues
- returns 0, the hunk is applied, and the apply process continues.
@param hunk The hunk to be applied
@param payload User-specified payload
When applying a patch, callback that will be made per hunk.
When the callback: - returns < 0, the apply process will be aborted. - returns > 0, the hunk will not be applied, but the apply process continues - returns 0, the hunk is applied, and the apply process continues.
@param hunk The hunk to be applied @param payload User-specified payload