[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pre-commit converter

From: Pierre Asselin
Subject: Re: pre-commit converter
Date: Wed, 8 Mar 2006 02:05:37 +0000 (UTC)
User-agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (NetBSD/2.0.3 (i386))

address@hidden wrote:
> I would like to convert any DOS files to unix format prior to commit.
> It is annoying when someone commits from a windows machine with DOS
> line endings, but I am in no position to enforce unix format checkins.

Their CVS client should do the conversion for you.  What are
they using ?

You could install a commitinfo hook in your CVSROOT, to deny
the commit if it detects CRLF files.  I think it's a bad idea
to try and fix the files in the hook.  What if your filter has a
bug and corrupts the files ?

pa at panix dot com

reply via email to

[Prev in Thread] Current Thread [Next in Thread]