The Restore Index option will result in a git stash apply --index
. According to the git man page, this means:
If the --index option is used, then tries to reinstate not only the working tree’s changes, but also the index’s ones. However, this can fail, when you have conflicts (which are stored in the index, where you therefore can no longer apply the changes as they were originally).
So, in general, yes, you should try to apply the stash having this option enabled.