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