pharo-users@lists.pharo.org

Any question about pharo is welcome

View all threads

Tabular for Pharo 9 and Git line ending conventions

BP
Bernhard Pieber
Mon, Apr 26, 2021 7:37 AM

Hi,

I made the Tabular tests to run on Pharo 9:
https://github.com/bpieber/Tabular

However, due to different line endings all lines of all touched methods are shown as changed:
https://github.com/VincentBlondeau/Tabular/compare/master...bpieber:master

The reason seems to be that in the repository the files use CRLF line endings while on my Mac the line endings are converted to LF.

I experimented with all settings of core.autocrlf (true, false, and input). However, the result was always the same.

Is there any way I can solve this problem?

Is there a convention which line endings Pharo projects should have in the repository on GitHub?

Cheers,
Bernhard

Hi, I made the Tabular tests to run on Pharo 9: https://github.com/bpieber/Tabular However, due to different line endings all lines of all touched methods are shown as changed: https://github.com/VincentBlondeau/Tabular/compare/master...bpieber:master The reason seems to be that in the repository the files use CRLF line endings while on my Mac the line endings are converted to LF. I experimented with all settings of core.autocrlf (true, false, and input). However, the result was always the same. Is there any way I can solve this problem? Is there a convention which line endings Pharo projects should have in the repository on GitHub? Cheers, Bernhard