[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-cvsweb
Subject:    Option to ignore Windows linefeeds when diff-ing
From:       "Vandertouw, Justin (DEH)" <Vandertouw.Justin () saugov ! sa ! gov ! au>
Date:       2004-03-03 0:52:43
Message-ID: 7108E4F65252BD42BA13488051EBE3022A15F5 () sagemsg0010 ! sagemsmrd01 ! sa ! gov ! au
[Download RAW message or body]

hi folks,

We have a problem whereby some developers checkin files (via commandline on
Unix/CVS host) that may have been edited on Windows PCs.

I have been asked to develop a soultion which will ulitmately enable
reliable and useful diffs

obvious solution was for developers to 'dos2unix' the source files but this
is not reliable (because our developers are not)

second was to modify the cvs checkin routines to check the fie and dos2unix
but this is a maintenance headache and not 100% reliable

then i thought maybe we could let the user tell cvsweb diff to ignore the
end-of-line (^M) that Windows inserts.

is this a reasonable option and has this been considered?

cheers,
justin vanderTouw 




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic