• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Better diff tool?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Better diff tool?
      • From: Marco Scheurer <email@hidden>
References: 
 >Better diff tool? (From: "Zacharias J. Beckman" <email@hidden>)

  • Prev by Date: Re: Buildstyles Propogating to sub projects in XCode 1.5 ?
  • Next by Date: Re: Buildstyles Propogating to sub projects in XCode 1.5 ?
  • Previous by thread: Re: Better diff tool?
  • Next by thread: Re: Better diff tool?
  • Index(es):
    • Date
    • Thread