info-cvs
[Top][All Lists]
Advanced

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

Re: CVS corrupts binary files ...


From: Mark D. Baushke
Subject: Re: CVS corrupts binary files ...
Date: Sun, 06 Jun 2004 23:50:58 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gianni Mariani <address@hidden> writes:

> Mark D. Baushke wrote:
> 
> >-----BEGIN PGP SIGNED MESSAGE-----
> >Hash: SHA1
> >
> >Adrian Constantin <address@hidden> writes:
> >
> >
> ...
> 
> >If someone wanted to hack in an automagical
> >recognition system that could be enabled for
> >binary file types, I suppose we could consider
> >adding it.
> >
> 
> It already exists, it's called "file" !
> 
> $ file xx.cpp
> xx.cpp: ASCII C++ program text
> $ file dialog.gif
> dialog.gif: GIF image data, version 89a, 28 x 28
> 
> it appears that it returns a line with "text" if the file is
> considered text.
> 
> I think that would be fairly trivial to add to cvs.

If someone wants to write a patch that will run the
equivalent of 'file' on new source files to determine that
the file needs -kb by default, that would be a useful
extension to cvs client mode for both 'cvs add' and 'cvs
import' cases.

        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFAxBBS3x41pRYZE/gRApAxAKCl+1cE7B9BagquXV2y/nlOTWDGkQCgoI93
e9Hgsj3NpddLmyHuE3ct7Qw=
=fgE5
-----END PGP SIGNATURE-----




reply via email to

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