This adds an option which will check if a diff is applicable without actually applying it; equivalent to git apply --check.