CLIProxy: use the newly created NSURL for the workingDirectory

NSURL's don't play nice with NSDistantObject, use the newly created NSURL instead of the NSDistantObject proxy.

This fixes problems with rev specifiers created using the gitx tool crashing GitX the second time they are viewed because the NSConnection to the tool has been closed.
This commit is contained in:
Nathan Kinsinger
2010-02-26 10:26:01 -07:00
parent 4a9abd2d8c
commit dc56af4aa6
+1 -1
View File
@@ -56,7 +56,7 @@
[document.windowController showCommitView:self];
else {
PBGitRevSpecifier* rev = [[PBGitRevSpecifier alloc] initWithParameters:arguments];
rev.workingDirectory = repositoryPath;
rev.workingDirectory = url;
document.currentBranch = [document addBranch: rev];
[document.windowController showHistoryView:self];
}