Re: [PATCH] Add --patchdepth parameter to git-am.sh
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Feb 7, 2007, 09:44 UTC
- Message-ID
- <eqc6ua$pc$1@sea.gmane.org>
- In-Reply-To
- <7vfy9ibcdx.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 8 quoted lines
> Andy Parkins <andyparkins@gmail.com> 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.
[...]
Show 5 quoted lines
> > 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