info-cvs
[Top][All Lists]
Advanced

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

Re: How to diff a binary file?


From: David Marshburn
Subject: Re: How to diff a binary file?
Date: Mon, 15 Jul 2002 17:37:06 -0400 (EDT)

Well, for instance, not all files that are marked as binary in cvs are
really "binary", in the executable sense.  My group has our visual studio
project (.dsp) and workspace (.dsw) files in cvs marked as binary.
Sometimes, if I don't remember offhand what I changed about a project
file, I'll force cvs diff to treat the file as text and look for the
change (it works in this case because the files are, in fact, text).

cheers,
-david


On Mon, 15 Jul 2002, Rob Helmer wrote:

> Hi Larry,
> 
> 
> Hmm.. I never tried forcing diff to treat a binary as text.. sounds pretty
> evil :)
> 
> I guess you'd want to redirect this to a file right away if there is
> likely to be one or more non-printable characters.
> 
> And then, what could one really do with this output?
> 
> 
> 
> --
> Rob 
> 
> 
> On Mon, Jul 15, 2002 at 12:49:48AM -0400, Larry Jones wrote:
> > George xu writes:
> > > 
> > >       I have a binary file in cvs, How to diff the binary file?
> > 
> > With "cvs diff".  You may have to use -a (or --text) to convince diff to
> > do more than just tell you they're different, and the result may or may
> > not be meaningful, depending on what's really in the file.
> > 
> > -Larry Jones
> > 
> > Rats.  I can't tell my gum from my Silly Putty. -- Calvin
> > 
> > _______________________________________________
> > Info-cvs mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/info-cvs
> > 
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs
> 




reply via email to

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