From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Thomas Rast <trast@student.ethz.ch>
Cc: git@vger.kernel.org, Junio C Hamano <gitster@pobox.com>
Subject: Re: [PATCH] Fix apply --recount handling of no-EOL line
Date: Fri, 4 Jul 2008 20:34:17 +0100 (BST) [thread overview]
Message-ID: <alpine.DEB.1.00.0807042034040.9925@racer> (raw)
In-Reply-To: <1215198614-22148-1-git-send-email-trast@student.ethz.ch>
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@student.ethz.ch>
ACK!
Ciao,
Dscho
prev parent reply other threads:[~2008-07-04 19:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-04 19:10 [PATCH] Fix apply --recount handling of no-EOL line Thomas Rast
2008-07-04 19:34 ` Johannes Schindelin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.1.00.0807042034040.9925@racer \
--to=johannes.schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=trast@student.ethz.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox