From: Junio C Hamano <junkio@cox.net>
To: "Marco Costalba" <mcostalba@gmail.com>
Cc: "Git Mailing List" <git@vger.kernel.org>
Subject: Re: [PATCH] Tech 'git-apply' that spaces before a tab are candidate for stripping
Date: Sun, 20 May 2007 00:53:11 -0700 [thread overview]
Message-ID: <7v8xbkrkwo.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: e5bfff550705190944y44cb57baiccb139b1d649face@mail.gmail.com
"Marco Costalba" <mcostalba@gmail.com> writes:
> Currently 'git-apply' identify as stealth space a line starting with
> spaces followed by a tab.
>
> This patch updates the algorithm to find spaces + tab also in the
> middle of a line and not only at the beginning.
>
> As example lines like
>
> "#define MY_VALUE \t 1"
>
> are now identified and cleaned up if option '--whitespace=strip' is
> used.
I specifically did not want to do the above, as it would also
munge something like this:
const char string[] = "abc <HT> de";
prev parent reply other threads:[~2007-05-20 7:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-19 16:44 [PATCH] Tech 'git-apply' that spaces before a tab are candidate for stripping Marco Costalba
2007-05-20 7:53 ` Junio C Hamano [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=7v8xbkrkwo.fsf@assigned-by-dhcp.cox.net \
--to=junkio@cox.net \
--cc=git@vger.kernel.org \
--cc=mcostalba@gmail.com \
/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