Hi
There is a file or menu that will let me change the settings on how to deal with line endings
I read there are 3 options:
-
Checkout Windows-style, commit Unix-style
Git will convert LF to CRLF when checking out text files. When committing text files, CRLF will be converted to LF. For cross-platform projects, this is the recommended setting on Windows ("core.autocrlf" is set to "true")
-
Checkout as-is, commit Unix-style
Git will not perform any conversion when checking out text files. When committing text files, CRLF will be converted to LF. For cross-platform projects this is the recommended setting on Unix ("core.autocrlf" is set to "input").
-
Checkout as-is, commit as-is
Git will not perform any conversions when checking out or committing text files. Choosing this option is not recommended for cross-platform projects ("core.autocrlf" is set to "false")
- - -
Let's imagine:
a user with a setting uploads to the remote repositories a pb project.
a second user, with a different configuration, clones the pb project
Result:
Powerbuilder, during the clone, modify the project file in ws_object folder and in the refresh phase generate a compilation error.
>>> It seems to modify the project file replacing the crlf. <<<
1- PB modifies the project
2- PB creates compile error on the project object
3- generates error on all objects.
Is it normal ? Has it ever happened to you?
it's strange that all users should have the same configuration....
Thanks in advance for the answer
ps: ecosystem
- windows 10
- git: git version 2.36.0.windows.1
- Powerbuilder 2021