HomeSoftware Heritage

Add code for computing which line-ending to use based on configuration

Description

Add code for computing which line-ending to use based on configuration

The implementation is based in my interpretation of several sources of documentation:

It doesn't support gitattributes overriding, it should be easy enough to add
the logic in the functions introduced in the next commit.

Details

Provenance
Boris Feld <boris.feld@comet.ml>Authored on Dec 11 2018, 9:17 AM
ardumontPushed on Sep 27 2021, 5:34 PM
Parents
rPPDW78280f137e18: Add low-level line ending conversion functions with its test file
Branches
Unknown
Tags
Unknown

Event Timeline