From: Jakub Narebski Date: Wed, 07 Feb 2007 09:44:08 GMT Subject: Re: [PATCH] Add --patchdepth parameter to git-am.sh Message-ID: In-Reply-To: <7vfy9ibcdx.fsf@assigned-by-dhcp.cox.net> Junio C Hamano wrote: > Andy Parkins writes: > >> 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. [...] > > I do not understand this remark, as applypatch does not have -p > either. If we were to do this, I agree with others that this > should simply be called -p (we do not have name crash with > existing options, do we?). Perhaps options should be -p as short version, and --patchdepth (or --strip as in GNU patch) as long version? -- Jakub Narebski Warsaw, Poland ShadeHawk on #git