cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Hodges (JIRA)" <>
Subject [jira] Updated: (CASSANDRA-111) Mixed line endings in the codebase
Date Thu, 23 Jul 2009 22:50:15 GMT


Jeff Hodges updated CASSANDRA-111:

    Attachment: line-endings-r797209.patch

Unix line ending conversion done from code in r797209.

Using this code:

find . -name "*.java" -print0 -o -name "*.sh" -print0 -o -name "*.xml" -print0 -o -name "*.txt"
-print0 | xargs -0 dos2unix

> Mixed line endings in the codebase
> ----------------------------------
>                 Key: CASSANDRA-111
>                 URL:
>             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.

View raw message