If you have a file added to a Git repository and you change the execution permission (e.g. chmod 0755 file
), Git tells that file has changed.
This can be useful, but sometimes is a pain in the neck when you are working on a web application and server permissions differs from you computer permissions.
Does anyone know why Git behaves like this? Is there a security/performance/any other reason to do that?