Before attempting git apply, run git apply --check --reverse to see if the patch is already present. If it is, return success immediately instead of falling through to fuzzy apply and reporting FAILED.
Before attempting git apply, run git apply --check --reverse to see if the patch is already present. If it is, return success immediately instead of falling through to fuzzy apply and reporting FAILED.