diff: diff_get_patch is replaced now by patch_new_from_diff