If there is no code to merge, git format-patch returns an empty string and git apply --check does not recognize that input: git-apply: fatal: unrecognized input
If there is no code to merge, git format-patch returns an empty string and git apply --check does not recognize that input:
git-apply: fatal: unrecognized input