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 c563c6e commit 3f239e6Copy full SHA for 3f239e6
PBGitRepository.m
@@ -88,9 +88,8 @@ + (NSURL *)gitDirForURL:(NSURL *)repositoryURL;
88
+ (NSURL*)baseDirForURL:(NSURL*)repositoryURL;
89
{
90
NSURL* gitDirURL = [self gitDirForURL:repositoryURL];
91
- NSString* repositoryPath = [gitDirURL path];
92
93
- if (![PBGitRepository isBareRepository:repositoryURL]) {
+ if (![PBGitRepository isBareRepository:gitDirURL]) {
94
repositoryURL = [NSURL fileURLWithPath:[[repositoryURL path] stringByDeletingLastPathComponent]];
95
}
96
0 commit comments