Re: [PATCH] Teach "git apply" to prepend a prefix with "--root=<root>"

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

 



Johannes Schindelin wrote:
Hi,

On Tue, 1 Jul 2008, H. Peter Anvin wrote:

Junio C Hamano wrote:
The -p<num> came from patch where it is also called --strip=num. This new option --root is about the reverse operation and it is about inserting at the beginning --- it is rerooting, in other words, but then --root is good enough and shorter. mkisofs uses the word "graft" when it allows tree shifting (enabled with --graft-points), but the word "graft" means a totally different thing to us, so we would not want to use that word.

I am not complaining (--root is fine by me), but just thinking aloud, hoping somebody's brainwave is provoked while reading this babbling and comes up with a better wording ;-).

There is an analogous concept in patch(1), it's just implemented by cd'ing to a subdirectory first. ;)

Hey, "--cd=" is free! And it would make explaining easier why -p is applied first.


Although that could imply cd'ing into another git repository to some people.

	-hpa
--
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]

  Powered by Linux