[SERVER-53101] UNIX linefeeds for all C++ source Created: 28/Nov/20  Updated: 29/Oct/23  Resolved: 28/Nov/20

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Improvement Priority: Major - P3
Reporter: Billy Donahue Assignee: Billy Donahue
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Service arch 2020-11-30
Participants:

 Description   

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



 Comments   
Comment by Githook User [ 28/Nov/20 ]

Author:

{'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}

Message: SERVER-53101 dos2unix all C++ source files
Branch: master
https://github.com/mongodb/mongo/commit/cca3644a4618b223dd716ef2b98ec856d229a295

Generated at Thu Feb 08 05:29:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.