Closed
Description
In particular, https://github.com/symfony/Config has windows line endings and no .gitattributes file to fix it, causing this on each composer update (in this case on debian 6):
- Updating symfony/config 2.6.x-dev (d94f222 => a9f781b)
The package has modified files:
M .gitignore
M CHANGELOG.md
M ConfigCache.php
M Definition/ArrayNode.php
M Definition/BaseNode.php
M Definition/BooleanNode.php
M Definition/Builder/ArrayNodeDefinition.php
M Definition/Builder/BooleanNodeDefinition.php
M Definition/Builder/EnumNodeDefinition.php
M Definition/Builder/ExprBuilder.php
It is as easy as adding a file like this to each file. It doesn't even have to be this verbose.
In its shortest form it is just
# Define the line ending behavior of the different file extensions
# Set default behaviour, in case users don't have core.autocrlf set.
* text=auto
* text eol=lf
In case there are no exe, bat or binary files around this totally suffices.
But you could also just fix the line endings to windows ones again (or both ideally).
Metadata
Metadata
Assignees
Labels
No labels