[prev in list] [next in list] [prev in thread] [next in thread]
List: git
Subject: Re: mingw, windows, crlf/lf, and git
From: Linus Torvalds <torvalds () linux-foundation ! org>
Date: 2007-02-14 18:31:39
Message-ID: Pine.LNX.4.64.0702141027380.3604 () woody ! linux-foundation ! org
[Download RAW message or body]
On Wed, 14 Feb 2007, Robin Rosenberg wrote:
>
> That may be why an excellent piece of software, TortoiseCVS, doesn't trust
> cvs or cvsnt to do the job. Here is how they do the binary detection (and
> some more):
>
> http://tortoisecvs.cvs.sourceforge.net/tortoisecvs/TortoiseCVS/src/CVSGlue/CVSStatus.cpp?revision=1.172&view=markup
>
Well, it does seem to boil down to what Junio already got to:
- 0-31 and 127 are never in text, except for BEL, BS, HT, LF, FF, CR and
ESC.
- 128-255 can all be in either iso-8859 or extended ascii (or they
explicitly add NEL but not 128+27 to "normal ASCII", which is strange)
So they've effectively added BEL and ESC to the listof characters that
Junio has now. But they also make it an absolute error to have anything
else (no "1% rule").
But they also do the filename tests, and I think that's more important in
many ways.
Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic