UNIX linefeeds for all C++ source

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • Service arch 2020-11-30
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Having some source files in UNIX and some DOS format in the codebase makes source analysis harder, and generates extraneous diffs depending on the text editor used to make the edit.

      There are a few files that are using DOS linefeeds, all under `db/cst/`.

      src/mongo/db/cst/bson_location.h: C++ source, ASCII text, with CRLF line terminators
      src/mongo/db/cst/cst_error_test.cpp: C++ source, ASCII text, with CRLF line terminators
      src/mongo/db/cst/cst_match_test.cpp: C++ source, ASCII text, with CRLF line terminators
      src/mongo/db/cst/cst_parser.h: C source, ASCII text, with CRLF line terminators
      src/mongo/db/cst/cst_sort_translation_test.cpp: C++ source, ASCII text, with CRLF line terminators
      src/mongo/db/cst/cst_expression_test.cpp: C++ source, ASCII text, with CRLF line terminators
      

            Assignee:
            Billy Donahue
            Reporter:
            Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: