mxcl/homebrew — pull request #24524 by AlexejK (2013-11-20 10:31:34+00:00)
Title: gitattributes to resolve conflicts with LF/CRLF (once and for all)

Shared repositories (with many developers, different preferences, etc) should not rely on global settings as this is limiting users greatly on what they can and cannot do with their computers.

There could be a lot of discussions around how the line-endings problem should be handled (imo repo should only contain LF on the server and then convert it to system line endings). But for simplicity, why not just include a git attributes file with homebrew that will solve it.

Orifinally problem is that many formulas, especially stunnel (but not only) often cause conflicts and break brew which takes ages to solve. This .gitattributes overrides whatever setting users might have globally for this specific repo.