FreeRTOS-Kernel icon indicating copy to clipboard operation
FreeRTOS-Kernel copied to clipboard

Convert all files in this repository to LF (unix) line endings.

Open paulbartell opened this issue 4 years ago • 2 comments

Description

Convert all files in this repository to LF (unix) line endings. Set text=auto for all files to ensure that files have correct line endings upon checkin.

Refer to the github docs on line-endings for more information.

In general, git handles LF line endings in a much more sane way than it does CRLF line endings. Users of windows should see little change to the way the use this repository. By default, git with automatically convert to/from native line endings during checkout and commit operations.

For more info on these settings in git, check out the git documentation on the subject.

Test Steps

Validated that new clones of the repository handle automatic line ending conversion correctly on windows and *nix.

Related Issue

#234 #340 #339 #247

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

paulbartell avatar Jan 14 '22 22:01 paulbartell

Codecov Report

Base: 94.30% // Head: 94.30% // No change to project coverage :thumbsup:

Coverage data is based on head (8394124) compared to base (1d59f65). Patch coverage: 84.71% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #441   +/-   ##
=======================================
  Coverage   94.30%   94.30%           
=======================================
  Files           6        6           
  Lines        2370     2370           
  Branches      579      579           
=======================================
  Hits         2235     2235           
  Misses         85       85           
  Partials       50       50           
Flag Coverage Δ
unittests 94.30% <84.71%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
event_groups.c 81.38% <81.38%> (ø)
list.c 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov[bot] avatar Jan 14 '22 22:01 codecov[bot]

Why is this necessary?

RichardBarry avatar Jan 15 '22 22:01 RichardBarry

Did you do any other manual changes than changing some .git files, a few readmes, and the CI to now check for the correct line ending? If the rest was automatically done, I'm happy to approve.

kstribrnAmzn avatar Nov 29 '22 21:11 kstribrnAmzn

Did you do any other manual changes than changing some .git files, a few readmes, and the CI to now check for the correct line ending? If the rest was automatically done, I'm happy to approve.

All automatic. Everything is in CI except for rejecting code with tabs. I can add that in at a later time.

paulbartell avatar Nov 29 '22 22:11 paulbartell