Skip to content

CR vs CRLF #197

@birbilis

Description

@birbilis

At READCOM.Core.Delphi package on GitHub, at TStoryItem class,
I have an ancestor TCustomManipulator from the Zoomicon.Manipulation.Delphi package

So I do BOSS update and bring in the dependencies etc. but when opening the ancestor file (from the modules subfolder where BOSS brings it), I see IDE complains about CR instead of CRLF

Zoomicon.Manipulation.FMX.CustomManipulator.pas(1): Line endings are LF, but RAD Studio requires CRLF. Consider converting or check your source control settings.

Is there a case BOSS brings in remote files with CR instead of CRLF? I think other Git clients (using TortoiseGit) convert to CRLF when on Windows or maybe ask Git to do it.

I think I have set GitHub to prefer to give CRLF to Windows clients (or maybe this is set at Git repository itself), don't remember. There could be a case where BOSS converts itself to CR or forces the Git server to bring CR, or maybe doesn't set some user-agent or similar to tell it's acting as a Git client from Windows or other CRLF preferring system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions