From: Junio C Hamano <gitster@pobox.com>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: Daniel Barkalow <barkalow@iabervon.org>,
git@vger.kernel.org, gitster@pobox.com
Subject: Re: [PATCH] Fix "apply --reverse" with regard to whitespace
Date: Sun, 08 Jul 2007 02:02:19 -0700 [thread overview]
Message-ID: <7vd4z32rqc.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <Pine.LNX.4.64.0707071849430.4093@racer.site> (Johannes Schindelin's message of "Sat, 7 Jul 2007 18:50:39 +0100 (BST)")
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> "git apply" used to take check the whitespace in the wrong
> direction.
>
> Noticed by Daniel Barkalow.
>
> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
> ---
>
> On Fri, 6 Jul 2007, Daniel Barkalow wrote:
>
> > If you apply in reverse a patch which adds junk (e.g., terminal
> > whitespace), it complains about the junk you're adding, even
> > though (since it's in reverse) you're actually removing that
> > junk.
>
> This fixes it.
Hmm. Does this cover the "trailing blank lines removal" as
well?
next prev parent reply other threads:[~2007-07-08 9:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-07 2:21 Minor bug in git-apply's patch-cleaning Daniel Barkalow
2007-07-07 17:50 ` [PATCH] Fix "apply --reverse" with regard to whitespace Johannes Schindelin
2007-07-08 9:02 ` Junio C Hamano [this message]
2007-07-08 12:47 ` Johannes Schindelin
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=7vd4z32rqc.fsf@assigned-by-dhcp.cox.net \
--to=gitster@pobox.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=barkalow@iabervon.org \
--cc=git@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).