From owner-freebsd-cvsweb@FreeBSD.ORG Tue Mar 2 16:41:17 2004 Return-Path: Delivered-To: freebsd-cvsweb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53A1616A4CE for ; Tue, 2 Mar 2004 16:41:17 -0800 (PST) Received: from adl0133.systems.sa.gov.au (adl0133.systems.sa.gov.au [143.216.236.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C7A443D39 for ; Tue, 2 Mar 2004 16:41:16 -0800 (PST) (envelope-from Vandertouw.Justin@saugov.sa.gov.au) Received: from adl0133.systems.sa.gov.au (localhost [127.0.0.1]) (8.12.10/8.12.7) with ESMTP id i230fEb2009923 for ; Wed, 3 Mar 2004 11:11:15 +1030 (CST)' Received: from sagemsbb006.saugov.sa.gov.au (sagemsbb006.sagemsmrd01.sa.gov.au [143.216.59.14])(8.12.10/8.12.7) with ESMTP id i230expp009691 for ; Wed, 3 Mar 2004 11:10:59 +1030 (CST)' Received: by sagemsbb006.sagemsmrd01.sa.gov.au with Internet Mail Service (5.5.2657.72) id ; Wed, 3 Mar 2004 11:10:48 +1030 Message-ID: <7108E4F65252BD42BA13488051EBE3022A15F5@sagemsg0010.sagemsmrd01.sa.gov.au> From: "Vandertouw, Justin (DEH)" To: "'freebsd-cvsweb@freebsd.org'" Date: Wed, 3 Mar 2004 11:10:43 +1030 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Subject: Option to ignore Windows linefeeds when diff-ing X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 00:41:17 -0000 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