Closed jockri closed 10 years ago
git can resolve this issue: git config core.filemode false
@jverdeyen It is not possible to do it system wide, so it has to be done for every new git repo you clone or create.
There are some snippets on http://gitfilemodeisannoying.com/ to fix this, maybe we can run them during the deploy?
"post-install-cmd": "find . -type d -name .git -exec git --git-dir='{}' config core.filemode false \\;"
After you run fixperms.py for a specific Symfony2 project, you can have problems while deploying a new version. The fixperms.py is going to change the file permissions in the vendor folder to (set file mode to 755). When running a
composer install
, you get errors because you have "uncomitted changes".Deploy log:
Log when running git status for this package:
It would be nice that composer ignores those changes, or fixperms.py does not change the file mode in the vendors folder.