FLUID-2769: Create a script to check for and correct DOS line endings in our code

Metadata

Source
FLUID-2769
Type
Task
Priority
Critical
Status
Closed
Resolution
Fixed
Assignee
N/A
Reporter
Justin Obara
Created
2009-05-26T12:14:25.000-0400
Updated
2011-05-17T11:23:11.091-0400
Versions
N/A
Fixed Versions
  1. 1.4
Component
  1. Infrastructure

Description

Create a script to check for and correct DOS line endings in our code

Currently we have to go file by file in a text editor that will show this line ending.

Comments

  • Colin Clark commented 2010-03-30T14:00:35.000-0400

    This should be part of a more robust post-commit hook for SVN (or Mercurial). It should include:

    • Line endings
    • File encoding (UTF-8)
    • Trimming whitespace
    • Tabs to spaces?
  • Justin Obara commented 2011-05-17T11:23:11.090-0400

    git can automatically handle this