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

Re: [PATCH] Fix apply --recount handling of no-EOL line

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 4, 2008, 19:34 UTC
Message-ID
<alpine.DEB.1.00.0807042034040.9925@racer>
In-Reply-To
<1215198614-22148-1-git-send-email-trast@student.ethz.ch>
Hi,
On Fri, 4 Jul 2008, Thomas Rast wrote:
Show 6 quoted lines
> If a patch modifies the last line of a file that previously had no
> terminating '\n', it looks like
> 
> -old text
> \ No newline at end of file
> +new text
Oh!
> Hence, a '\' line does not signal the end of the hunk.  This modifies
> 'git apply --recount' to take this into account.
> 
> Signed-off-by: Thomas Rast <trast@student.ethz.ch>
ACK!

Ciao, Dscho

Previous: Thomas Rast
Message 2 of 2 in “Fix apply --recount handling of no-EOL line”
  1. Fix apply --recount handling of no-EOL lineThomas Rast, Jul 4, 2008
  2. Johannes SchindelinJul 4, 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.