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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Junio C Hamano wrote:

> Andy Parkins <andyparkins@xxxxxxxxx> 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


-
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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]