Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

CRLF changes after every update

Solved by Karmalakas View solution

Started by Karmalakas 5 years ago · 2 replies · 378 views
5 years ago

Is there some setting I need to change in PHP Storm or Grav uses some unusual line endings? I already had 2 upgrades (1.7 RC2 >> 1.7.0 >> 1.7.3) and in both cases there were hundreds of files with CRLF changes only
image|502x362

5 years ago

@Karmalakas, Hard to say with the information given...

Firstly, I cannot imaging that the line-endings of Grav's core files change over time. So I would first seek for a cause/solution at your end.

There are several places where line-endings can be configured:

And they might override each other.

Depending on which files have been changed, when they have changed, etc. one of the above is more likely then the other.

5 years ago Solution

Probably should've mentioned I'm on Windows. Other than that, not much information I can give :/ For now I've changed from System dependent to Unix/MacOS. Just updated Admin and Flex objects plugins and there weren't any CRLF changes to commit, so I guess this might've helped. Will see how it goes on next update

image|593x351

And even if I committed and pushed nearly 400 files in total, Git PR shows only 37 file changes. I guess that's good 🤔

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 55 12 hours ago
Support · by Anna, 3 days ago
2 60 15 hours ago
Support · by Justin Young, 16 hours ago
1 31 16 hours ago
Support · by Duc , 1 week ago
2 65 5 days ago
Support · by Colin Hume, 1 week ago
2 58 5 days ago