[
https://issues.apache.org/jira/browse/CASSANDRA-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jeff Hodges updated CASSANDRA-111:
----------------------------------
Attachment: line-endings-r797209.patch
Unix line ending conversion done from code in r797209.
Using this code:
{code}
find . -name "*.java" -print0 -o -name "*.sh" -print0 -o -name "*.xml" -print0
-o -name "*.txt" -print0 | xargs -0 dos2unix
{code}
> Mixed line endings in the codebase
> ----------------------------------
>
> Key: CASSANDRA-111
> URL: https://issues.apache.org/jira/browse/CASSANDRA-111
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Reporter: Jeff Hodges
> Attachments: line-endings-r797209.patch, line_endings.patch, no.rb
>
>
> There seems to be a lot of line endings in the codebase that end with DOS
> line endings. Some files are even mixes of DOS and Unix line endings. This
> patch removes all the DOS file endings and corrects them to Unix.
> Also attached is the program that I used to remove them.
> Using Unix line endings in all places makes lots of things easier. At the
> very least, a consistent choice of line endings would. Has there been
> discussion of what should be the correct line ending to use?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.