Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

CRLF changes after every update

Solved by Karmalakas View solution

Started by Karmalakas 6 years ago · 2 replies · 682 views
6 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

6 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.

6 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 TomW, 2 weeks ago
8 228 9 hours ago
Support · by alex, 2 months ago
8 667 24 hours ago
Support · by Supple, 5 days ago
1 98 1 day ago
Support · by TomW, 1 week ago
3 160 3 days ago
Support · by TomW, 6 days ago
2 106 6 days ago