[Top][All Lists]
[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-----
- Re: CVS corrupts binary files ..., (continued)
- Re: CVS corrupts binary files ..., Paul Sander, 2004/06/06
- RE: CVS corrupts binary files ..., Peter Connolly, 2004/06/05
- Re: CVS corrupts binary files ..., Larry Jones, 2004/06/05
- Re: CVS corrupts binary files ..., Paul Sander, 2004/06/05
- Re: CVS corrupts binary files ..., Doug Lee, 2004/06/05
- Re: CVS corrupts binary files ..., Mark D. Baushke, 2004/06/05
- Re: CVS corrupts binary files ..., Adrian Constantin, 2004/06/05
- Re: CVS corrupts binary files ..., Paul Sander, 2004/06/05
- Re: CVS corrupts binary files ..., Mark D. Baushke, 2004/06/06
- Re: CVS corrupts binary files ..., Gianni Mariani, 2004/06/06
- Re: CVS corrupts binary files ...,
Mark D. Baushke <=
- Re: CVS corrupts binary files ..., Larry Jones, 2004/06/07
- Re: CVS corrupts binary files ..., Paul Sander, 2004/06/05
- Re: CVS corrupts binary files ..., Greg A. Woods, 2004/06/08
- Re: CVS corrupts binary files ..., Paul Sander, 2004/06/08
- Re: CVS corrupts binary files ..., Paul Sander, 2004/06/08
- Re: CVS corrupts binary files ..., Tom Copeland, 2004/06/09
- Re: CVS corrupts binary files ..., Greg A. Woods, 2004/06/17
- Re: CVS corrupts binary files ..., Tom Copeland, 2004/06/17
- Re: CVS corrupts binary files ..., Greg A. Woods, 2004/06/17
- Re: CVS corrupts binary files ..., Doug Lee, 2004/06/17