lists.zerezo.com



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

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



Hi,

On Fri, 4 Jul 2008, Thomas Rast wrote:

> 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@xxxxxxxxxxxxxxx>

ACK!

Ciao,
Dscho
--
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