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

Re: [PATCH] apply: fix copy/rename breakage

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 10, 2008, 03:13 UTC
Message-ID
<7vtzeyqvnj.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<7vy74aqvr1.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
> Recently, 7ebd52a (Merge branch 'dz/apply-again', 2008-07-01) taught
> "git-apply" to grok a (non-git) patch that is a concatenation of separate
> patches that touch the same file number of files, by recording the
Eh, s/files/times/;
Show 14 quoted lines
> postimage of patch application of previous round and using it as the
> preimage for later rounds.
>
> However, this "incremental" mode of patch application contradicts with the
> way git rename/copy patches are fundamentally designed....
> a patch to produce new files out of existing file by copying to fix this
> issue.
>
> Signed-off-by: Junio C Hamano <gitster@pobox.com>
> ---
>
>  * Applies to 'master'.  I am CC'ing Linus not because he is in any way
>    responsible for this breakage, but because this breakage can affect
>    heavy users of "git apply".
Previous: Junio C HamanoNext: Stephan Beyer
Message 2 of 6 in “apply: fix copy/rename breakage”
  1. apply: fix copy/rename breakageJunio C Hamano, Jul 10, 2008
  2. Junio C HamanoJul 10, 2008
  3. Stephan BeyerJul 10, 2008
  4. Don ZickusJul 10, 2008
  5. Johannes SixtJul 10, 2008
  6. Don ZickusJul 10, 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.