I have some modifications in a git stash, and I would like to apply them using git stash pop or git stash apply. But I have changed some indentation in the files that the stash changes, and when I try to apply the stash, I get a bunch of merge conflicts. Is there a way to ignore whitespace while applying the stash, similar to the -Xignore-all-space option for git merge?
I tried git stash apply -Xignore-all-space stash@{2} and it told me error: unknown switch `X'.