I think a .gitattributes file should fix this as well. https://help.github.com/articles/dealing-with-line-endings/#per-repository-settings Most Yeoman generators create one by default.
On Sat, Feb 14, 2015 at 7:52 AM, Matthew McNulty <[email protected]> wrote: > It actually *is* Scott and his windows habit - Elliott was correct. I've > tried offering to buy him a Mac for his house but that didn't work. We may > have to stage an intervention, or wait for him to hit rock bottom so he can > see how much he's hurting his Chromium family before he's willing to seek > the help of a proper operating system. > > On Saturday, February 14, 2015, Martin Kleinschrodt < > [email protected]> wrote: > >> Haha, nice to see that these things happen even at a top notch team like >> this! I suggest using a linter in combination with a pre-commit git hook to >> catch these kinds of things before they even creep into version control. >> >> On Saturday, February 14, 2015 at 6:11:47 AM UTC+1, Michael Giuffrida >> wrote: >>> >>> FYI, we've updated a script >>> <https://code.google.com/p/chromium/issues/detail?id=458315> in the >>> Chromium tree so we can handle mixed line endings in Polymer elements now >>> (by stripping away the CRs when updating elements). But I'd still encourage >>> consistency! >>> >>> On Fri, Feb 13, 2015 at 10:46 AM, Daniel Freedman <[email protected]> >>> wrote: >>> >>>> Yeah all for that. The only task would be to go through all the >>>> components and fix them up. >>>> >>>> On Thu, Feb 12, 2015 at 8:37 PM, Rob Dodson <[email protected]> wrote: >>>> >>>>> gotta get on that .editorconfig train! http://editorconfig.org/ >>>>> >>>>> On Thu, Feb 12, 2015 at 2:37 PM, 'Michael Giuffrida' via Polymer < >>>>> [email protected]> wrote: >>>>> >>>>>> Rietveld and/or the CQ cannot apply changes when the unified diff >>>>>> contains CRs. See discussion on chromium-dev: >>>>>> https://groups.google.com/a/chromium.org/d/msg/chromium- >>>>>> dev/u5KeH1lqDmY/ZzZTKdGa7IoJ >>>>>> >>>>>> We'll be adding a script to the tree to remove those line endings >>>>>> after "bower install". >>>>>> >>>>>> On Thu, Feb 12, 2015 at 2:07 PM, Daniel Freedman <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> None of our tools ever cared about line endings. What breaks about >>>>>>> mixed line endings breaks the Chromium tree? Anything beyond some linter >>>>>>> step? >>>>>>> >>>>>>> On Thu, Feb 12, 2015 at 2:02 PM, Elliott Sprehn <[email protected]> >>>>>>> wrote: >>>>>>> >>>>>>>> I blame Scott and his windows habit. :P >>>>>>>> >>>>>>>> On Thu, Feb 12, 2015 at 2:00 PM, 'Michael Giuffrida' via Polymer < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>>>>> Several Polymer files on GitHub (and when installed through bower) >>>>>>>>> mix CRLF with LF, and it's making the Chromium tree sad. >>>>>>>>> >>>>>>>>> Example: https://github.com/Polymer/paper-checkbox/blob/ >>>>>>>>> master/paper-checkbox.css >>>>>>>>> >>>>>>>>> Polymer devs, why? <https://i.imgflip.com/hkdgs.jpg> >>>>>>>>> >>>>>>>>> Michael >>>>>>>>> >>>>>>>>> Follow Polymer on Google+: plus.google.com/107187849809354688692 >>>>>>>>> --- >>>>>>>>> You received this message because you are subscribed to the Google >>>>>>>>> Groups "Polymer" group. >>>>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>>>> send an email to [email protected]. >>>>>>>>> To view this discussion on the web visit >>>>>>>>> https://groups.google.com/d/msgid/polymer-dev/CACi5S_ >>>>>>>>> 1RrSQEKzxGWhQPUzfqBSSFS6-SPkqjWDG9me9%2B05GhwA%40mail.gmail.com >>>>>>>>> <https://groups.google.com/d/msgid/polymer-dev/CACi5S_1RrSQEKzxGWhQPUzfqBSSFS6-SPkqjWDG9me9%2B05GhwA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>>>>> . >>>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>>> >>>>>>>> >>>>>>>> Follow Polymer on Google+: plus.google.com/107187849809354688692 >>>>>>>> --- >>>>>>>> You received this message because you are subscribed to the Google >>>>>>>> Groups "Polymer" group. >>>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>>> send an email to [email protected]. >>>>>>>> To view this discussion on the web visit >>>>>>>> https://groups.google.com/d/msgid/polymer-dev/ >>>>>>>> CAPJYB1ieg5zD6f9_1Y%2BOW6gu%2B0xGJ6sMTi4B4Z0zHX48d8tzVw% >>>>>>>> 40mail.gmail.com >>>>>>>> <https://groups.google.com/d/msgid/polymer-dev/CAPJYB1ieg5zD6f9_1Y%2BOW6gu%2B0xGJ6sMTi4B4Z0zHX48d8tzVw%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>>>> . >>>>>>>> >>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>> >>>>>>> >>>>>>> >>>>>> Follow Polymer on Google+: plus.google.com/107187849809354688692 >>>>>> --- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Polymer" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to [email protected]. >>>>>> To view this discussion on the web visit https://groups.google.com/d/ >>>>>> msgid/polymer-dev/CACi5S_0QC7qSaawkgUWmRyn5kYeh8TA5dwEQ >>>>>> Ch%3DDwxBuy3xpSA%40mail.gmail.com >>>>>> <https://groups.google.com/d/msgid/polymer-dev/CACi5S_0QC7qSaawkgUWmRyn5kYeh8TA5dwEQCh%3DDwxBuy3xpSA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> >>>> >>> Follow Polymer on Google+: plus.google.com/107187849809354688692 >> --- >> You received this message because you are subscribed to the Google Groups >> "Polymer" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/polymer-dev/010f6fe9-7cbc-4a3b-bae2-54ff78f190d9%40googlegroups.com >> <https://groups.google.com/d/msgid/polymer-dev/010f6fe9-7cbc-4a3b-bae2-54ff78f190d9%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CAJj5OwB2dPskKG32ynj6s9pHPJ%3D8t%2BZjh7pfTjswaoU%2BRq_2Mg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
