systemml-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Dusenberry <>
Subject Normalization of Line Endings
Date Fri, 22 Jan 2016 16:46:08 GMT
Hi all,

As noted in the release candidate thread, there was an issue with the
"standalone" package in which the "" script could
not be run on Linux/OS X due to the inclusion of Windows-styled carriage
returns within the file.  To fix this issue and prevent it in the future,
I've pushed a new ".gitattributes" file that contains logic to cause Git
enforce Unix-styled line endings for all files (other than Windows-specific
ones) upon check-in to the repo.  Basically, on checkout, Git will use the
OS-specific line endings as necessary, and on check-in, Git will replace
any carriage returns with Unix line feeds.

There is one caveat though.  If you use the built-in Git feature within
Eclipse, the ".gitattributes" fill will not be used.  The "real" Git does
indeed use this file, but "JGit", the Java-based implementation of the Git
specification that Eclipse uses, does not yet have this capability
according to this open issue: [].  Therefore, for
those in this situation on Windows, it would be advisable to either use the
command-line version of Git, or to ensure that Eclipse is inserting
Unix-styled line endings.


- Mike


Mike Dusenberry

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message