Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

Re: [PATCH] Add --patchdepth parameter to git-am.sh

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:42:53

Junio C Hamano wrote:
Andy Parkins [off-list ref] writes:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help