Re: git and line endings
Werner <[email protected]>
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <[email protected]> |
On 2/12/2015 20:08, Robin Dunn wrote: ... > You might want to try setting autocrlf to "input" as that will keep > them in whatever format they have in the repository. There are a few > files in the wxWidgets repo (but on any in Phoenix that I recall) that > must always be in CRLF mode. But if you are using a smart editor that > can handle either style then it doesn't matter too much what format > the rest of the source files are using. IIRC, the "input" style also > intelligently converts newly added text files to LF when they are > committed the first time. Found this doc: http://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration Based on above and as I am on Windows I think I need "true". Did a quick test on the Phoenix repo, after setting the config I did a new clone of the repo and the files WingIDE warned me about don't give me a warning and as git converts back to 'LF' when I push the repo should be fine too. Werner -- You received this message because you are subscribed to the Google Groups "wxPython-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.