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

Re: A question about using 'add -p' to split the patch

From
Ping Yin <pkufranky@gmail.com>
Date
Jun 15, 2009, 08:56 UTC
Message-ID
<46dff0320906150156mf9ac4dek99c94a6cc59e1db@mail.gmail.com>
In-Reply-To
<20090615073635.GA53643@gmail.com>
Show 15 quoted lines
>
> For add -e I got it to work by editing the patch to;
>
> +function bt_move($path, $pos) {
> +  return;
> +}
>  function bt_add($path) {
>    return;
>  }
>
> The reason it's hard to get right is that you have to
> reconstruct the context of the original content for the
> adds/removes and remember to add the space before the
> reconstructed bt_add($path).
>
Thanks very much, i forgot the space before the reconstructed bt_add($path) :-)
Previous: David Aguilar
Message 5 of 5 in “A question about using 'add -p' to split the patch”
  1. Ping YinJun 15, 2009
  2. David AguilarJun 15, 2009
  3. Ping YinJun 15, 2009
  4. David AguilarJun 15, 2009
  5. Ping YinJun 15, 2009

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.