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