Re: BUG: CR marker ^M doesn't show up in '-' lines of diffs when the ending of the removed line is CR+LF
- From
Torsten Bögershausen <tboegi@web.de>
- Date
- Nov 24, 2018, 15:25 UTC
- Message-ID
- <20181124152504.GA14440@tor.lan>
- In-Reply-To
- <edadf857-2d4b-f058-5e07-286afb312901@googlemail.com>
On Sat, Nov 24, 2018 at 03:51:26PM +0100, Frank Schäfer wrote: []
> > Hmm... is CR-only line termination supported at all ? > E.g. 'eol' can be set to 'lf' or 'crlf' but not 'cr'... >
No, CR-only is not supported, because: Nobody was implementing it, and that is probably because the only question abou CR-only (at least what I remember) was a when an old Mac OS (not the Mac OS X) was used (which used to use CR instead of LF).
And, such feature may be implemented by writing a filter, replace CR with LF as "clean" and "LF" with "CR" for smudge.