mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
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:
+1
-1
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user