Don't display windows EOL
Categories
(Webtools :: Searchfox, enhancement)
Tracking
(Not tracked)
People
(Reporter: calixte, Unassigned)
Details
For example:
https://searchfox.org/mozilla-central/source/other-licenses/7zstub/src/CPP/7zip/Archive/7z/7zUpdate.cpp
I think the EOL chars are useless, a kind of visual pollution and make the copy/paste painful.
Comment 1•5 years ago
|
||
Searchfox does seem to be unique among hg.mozilla.org and github in displaying the windows line-endings.
I guess one question is whether this is helpful in the sense that it conveys the file was checked into revision control without going through the normal line-ending normalization paths and that someone trying to edit this file on linux or OS X is going to end up experiencing a hassle. Of course, a banner at the top that just says "this file uses MS-DOS line endings!!!" is likely more useful and less annoying than having the character on every line. The special character only would seem useful if it only happened on some lines.
Description
•