Patches generated by "view as patch" has to be applied with "patch -p0" (= there is no directory prefix). However, "git apply" (and most of other tools that work with patches) accept patch that could be applied with "patch -p1" (= one directory prefix). How to fix that?