Re: Line endings

2011-05-13 Thread Simon Marlow
On 12/05/2011 14:52, Johan Tibell wrote: On Thu, May 12, 2011 at 2:12 PM, Max Bolingbroke wrote: If we outlawed them now we'd have to take an annoying one-time hit removing all the (tons) of existing tabs, generating lots of merge conflicts on all GHC branches for little immediate gain :-( So

Re: Line endings

2011-05-12 Thread David Terei
I personally would be very happy paying the cost to get rid of tabs in a big swoop. Maybe we could try to plan for a time right after 7.2 when there may be a little less code in peoples branches and just go for it. Or perhaps we could stagger it? Say each week we choose a folder in the ghc source t

Re: Line endings

2011-05-12 Thread Johan Tibell
On Thu, May 12, 2011 at 2:12 PM, Max Bolingbroke wrote: > If we outlawed them now we'd have to take an annoying one-time hit > removing all the (tons) of existing tabs, generating lots of merge > conflicts on all GHC branches for little immediate gain :-( > > So while I share your sentiment, I don

Re: Line endings

2011-05-12 Thread Max Bolingbroke
On 12 May 2011 13:06, Manuel M T Chakravarty wrote: > And while we are on the topic of unwanted characters, could we outlaw tab > characters? If we outlawed them now we'd have to take an annoying one-time hit removing all the (tons) of existing tabs, generating lots of merge conflicts on all GHC

Re: Line endings

2011-05-12 Thread Manuel M T Chakravarty
And while we are on the topic of unwanted characters, could we outlaw tab characters? Manuel Max Bolingbroke: > On 12 May 2011 08:45, Simon Peyton-Jones wrote: >> Does anyone know an easy way to list files that use windows line-endings? > > I don't know how to say what the line ending type is,

RE: Line endings

2011-05-12 Thread Simon Peyton-Jones
Jones | Cc: GHC | Subject: Re: Line endings | | On 12 May 2011 08:45, Simon Peyton-Jones wrote: | > Does anyone know an easy way to list files that use windows line-endings? | | I don't know how to say what the line ending type is, but dos2unix is | idempotent on files with Unix line e

Re: Line endings

2011-05-12 Thread Max Bolingbroke
On 12 May 2011 08:45, Simon Peyton-Jones wrote: > Does anyone know an easy way to list files that use windows line-endings? I don't know how to say what the line ending type is, but dos2unix is idempotent on files with Unix line endings, so I guess you could just run: find . –name ‘*hs’ | xarg

Re: Line endings

2011-04-14 Thread Simon Marlow
On 14/04/2011 10:17, Simon Peyton-Jones wrote: I’m getting lots of testsuite failures on Windows that seem to be related to line endings. For example: hFileSize001(normal) hTell001(normal) readFail002(normal) readFile001(normal) But I have done git config --global core.autocrlf false as re