Andy Parkins <andyparkins@xxxxxxxxx> wrote: > If the series of patches you are applying via git-am was based in a > different directory there was no way to strip the directory (as you > would with git-apply). > > This patch adds a --patchdepth option to git-am.sh whose argument is > passed as a "-p" option to git-apply. Is there something wrong with -p<n>? Looking at git-am, -p is not currently accepted as an option. Its universally considered the depth parameter to standard `patch`, which is why git-apply also accepts it over --patchdepth. I'd rather see git-am use the same arguments (when possible) as git-apply. -- Shawn. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html