diff
has a --ignore-case
option. Is there an equivalent which I can use to apply a given patch to a file, where the environment has differing letter case (as well as whitespace) from the files I used to obtain the patch?
Ideally, I'd like this directly in git (rebase / cherry pick etc.), but I'd also be fine with a manual solution.