Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Mar 2004 11:10:43 +1030 
From:      "Vandertouw, Justin (DEH)" <Vandertouw.Justin@saugov.sa.gov.au>
To:        "'freebsd-cvsweb@freebsd.org'" <freebsd-cvsweb@freebsd.org>
Subject:   Option to ignore Windows linefeeds when diff-ing
Message-ID:  <7108E4F65252BD42BA13488051EBE3022A15F5@sagemsg0010.sagemsmrd01.sa.gov.au>

next in thread | raw e-mail | index | archive | help
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 






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7108E4F65252BD42BA13488051EBE3022A15F5>