The .gitattributes system together with input/output filters has already
proven exceptionally useful for me. I've got some co-workers which
do not seem to care about CRLF line endings or whitespace damage.
core.autocrlf = input
and
[filter "whitespace"]
clean = stripspace
smudge = cat
and
*.php filter=whitespace
*.tpl filter=whitespace
saves me minutes every day when I review changes made by others,
because otherwise the diffs are getting illegible (Sometimes, the whole
file is shown twice only because the line-ending changed)
It would be really great if these features were included in the next
release.
Thanks,
Matthias