• 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: opendiff tool slow to exit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: opendiff tool slow to exit


  • Subject: Re: opendiff tool slow to exit
  • From: Luc Bourhis <email@hidden>
  • Date: Tue, 24 Aug 2010 19:02:57 +0200

Hello Chris,

> I too noticed this recently when opening multiple Subversion files to resolve conflicts.
> (It may only be a second, but it feels a lot longer.)
>
> The solution was quite simple (eventually).
>
> #!/bin/sh
> ..
> /usr/bin/opendiff "$left" "$right" -ancestor "$base" -merge "$f" &
>
> It's the magic trailing '&' that fixed it.

Thanks for the suggestion. It seems to work with subversion indeed but not for the one tool I use most: git. Indeed the latter does the following sequence of operations:

(1) create a temporary file for HEAD
(2) ask the script like yours to diff that file and the working version
(3) delete the file when the script returns

The script executes too fast and by the time opendiff/FileMerge handle the request, the temporary file is gone and it results in a failure.

I'll file a bug to Apple then!

Thanks,

Luc



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: opendiff tool slow to exit
      • From: Mark Wagner <email@hidden>
  • Prev by Date: Re: Ad Hoc Distribution
  • Next by Date: Previous Versions of OS X
  • Previous by thread: Re: opendiff tool slow to exit
  • Next by thread: Re: opendiff tool slow to exit
  • Index(es):
    • Date
    • Thread