From: Orin E. <ori...@gm...> - 2010-12-05 06:58:13
|
On Sat, Dec 4, 2010 at 4:00 PM, Pete Batard <pb...@gm...> wrote: > (forgot reply to list on this one) > > On 4 December 2010 17:22, Michael Plante <mic...@gm...> wrote: > >>> In other words: "Move over git! I'll take care of line endings myself. > >>> And please make sure you don't touch them.", which seems to me like > >>> the exact solution we want. > > > > Assuming it obeys your wishes. Are you sure it does? > > Been using it for months now on libwdi and libusb. Haven't seen any > evidence of files being converted back by git. > > > >>> .dsw/.dsp/.vcproj/.sln must (should?) > > > > Don't know which, either: must vs. should. I haven't bothered to try > them > > with LF. > > Same here. Preferred to be safe and anticipate issues (especially if > snapshots are built on Linux), and being in control of line > terminators on these files, rather than leave git do whatever it > decides to do for reasons that you need to spend hours to figure out, > sounds like the better deal to me. > Don't worry too much about .vcproj and .sln - Visual Studio doesn't seem to care about line endings in them. It also silently accepts source files with LF line endings. In fact, as far as I know and as has been noted elsewhere, the only standard Windows app that has a problem is Notepad. Orin. |