Answer the question
In order to leave comments, you need to log in
Why does PHPStorm say "Contents are identical" when comparing files, but still consider them different?
Line ending signs are brought to a single format. All this wouldn't be scary if it didn't get in the way of comparing really different files and making sure that you upload or merge only what you really need to the server.
The options for why this may be, I personally consider the following:
1. Different rights to files, but I have win on the locale, linux on the server, so it's not very clear what to do with it. And indirectly, it turns out that this is unlikely to affect, since the same situation is observed when I download these files from the server and compare them on the local machine and what is in the project, also on the local machine.
2. Different dates of creation / modification of files, but what to do with it is not at all clear to me.
I am attaching a screenshot. It shows a comparison of two local folders (on win), but it's exactly the same story when comparing win-linux.
Answer the question
In order to leave comments, you need to log in
The files differ by 3 bytes. Instead of in UTF-8 BOM whether business a case?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question