We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 760d7c6 commit 00b90deCopy full SHA for 00b90de
Classes/Controllers/PBGitRepositoryDocument.m
@@ -116,12 +116,13 @@ - (void)showWindows
116
NSScriptCommand *command = [NSScriptCommand currentCommand];
117
118
if (command) {
119
+ // Check if `gitx` has provided some arguments
120
NSURL *repoURL = [command directParameter];
121
122
// on app launch there may be many repositories opening, so double check that this is the right repo
123
if (repoURL) {
124
repoURL = [PBRepositoryFinder gitDirForURL:repoURL];
- if ([repoURL isEqual:self.fileURL]) {
125
+ if ([repoURL isEqual:_repository.gitURL]) {
126
NSArray *arguments = command.arguments[@"openOptions"];
127
[self handleGitXScriptingArguments:arguments];
128
}
0 commit comments