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 8ae2cde commit 4476892Copy full SHA for 4476892
PBGitRevList.mm
@@ -87,8 +87,8 @@ - (void) walkRevisionListWithSpecifier: (PBGitRevSpecifier*) rev
87
else
88
[arguments addObjectsFromArray:[rev parameters]];
89
90
-
91
- NSTask *task = [PBEasyPipe taskForCommand:[PBGitBinary path] withArgs:arguments inDir:[repository fileURL].path];
+ NSString *directory = rev.workingDirectory ? rev.workingDirectory.path : repository.fileURL.path;
+ NSTask *task = [PBEasyPipe taskForCommand:[PBGitBinary path] withArgs:arguments inDir:directory];
92
[task launch];
93
NSFileHandle* handle = [task.standardOutput fileHandleForReading];
94
0 commit comments