Re: [PATCH] Tech 'git-apply' that spaces before a tab are candidate for stripping
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 20, 2007, 07:53 UTC
- Message-ID
- <7v8xbkrkwo.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <e5bfff550705190944y44cb57baiccb139b1d649face@mail.gmail.com>
"Marco Costalba" <mcostalba@gmail.com> writes:
Show 12 quoted lines
> 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";