git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Jul 1, 2008, 20:27 UTC
Message-ID
<486A933F.9090001@zytor.com>
In-Reply-To
<1214935848.6619.1.camel@doriath>
Raimund Bauer wrote:
Show 7 quoted lines
> On Tue, 2008-07-01 at 18:36 +0200, Johannes Schindelin wrote:
>>> 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.
> 
> patch uses -d or --directory
So it does.
	-hpa
Previous: Raimund BauerNext: Johannes Schindelin
Message 7 of 8 in “Teach "git apply" to prepend a prefix with "--root=<root>"”
  1. Teach "git apply" to prepend a prefix with "--root=<root>"Johannes Schindelin, Jun 30, 2008
  2. Junio C HamanoJul 1, 2008
  3. H. Peter AnvinJul 1, 2008
  4. Johannes SchindelinJul 1, 2008
  5. H. Peter AnvinJul 1, 2008
  6. Raimund BauerJul 1, 2008
  7. H. Peter AnvinJul 1, 2008
  8. Johannes SchindelinJul 1, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.