Hi all,
I've bumped into a code-style issue recently. It's about the newline/EOL
marker [1]. Some files in the GateIn source code are using windows-style
and some are using unix-style EOL marker. Some of the files are even
using both in single file. For example this file:
web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/customization/UIAccountSettingForm/Stylesheet.css
is using LF (unix) in the copyright section and CR+LF (windows) in the
rest of the file.
Editing and saving such file in "regular" editor (like gedit or
NetBeans; on the other hand vim seems to preserve the existing EOL
markers) leads to big diff caused only because of the change of the EOL
marker.
Is it OK, if I use only the unix-style EOL marker from now on (which
means one-shot unnecessary big diffs)? Do we want to do some bigger
clean-up to unify the EOL markers in all files?
Viliam
---
[1]
http://en.wikipedia.org/wiki/Newline