Re: Better diff tool?
Re: Better diff tool?
- Subject: Re: Better diff tool?
- From: Bill Bumgarner <email@hidden>
- Date: Thu, 28 Apr 2005 11:22:51 -0700
On Apr 27, 2005, at 10:19 PM, Zacharias J. Beckman wrote:
I was really (really, really) disappointed with XCode's file
difference tool. It's pretty basic. The big functional
disappointment is that it can't ignore CVS file tags (e.g.:
"$Revision: 1.6$") so every file is flagged as different.
Yeah. That is pretty bloody annoying, isn't it? I always strip
those particular markers out of source because they are really
terribly useless unless your software development process is
otherwise utterly broken (no disconnected tarball of source should
ever be produced without an associated tag or version inventory --
or, if using a real revision control system like Subversion or
Perforce, the repository revision #).
In any case, it is easy to fix:
perl -pi -e 's/\$Id:.*\$//' *.[hcm]
That'll eliminate the silly $Id: ..$ noise from all headers, c source
and objective-c source. Substitute "Revision" for "Id" to remove
that instead.
b.bum
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden