Re: opendiff tool slow to exit
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