Skip to content

Commit 03664e0

Browse files
committed
--warning
1 parent 8086d04 commit 03664e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PBGitRepository.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ - (BOOL)readFromURL:(NSURL *)absoluteURL ofType:(NSString *)typeName error:(NSEr
116116
NSURL* gitDirURL = [PBGitRepository gitDirForURL:[self fileURL]];
117117
if (!gitDirURL) {
118118
if (outError) {
119-
NSDictionary* userInfo = [NSDictionary dictionaryWithObject:[NSString stringWithFormat:@"%@ does not appear to be a git repository.", [self fileName]]
119+
NSDictionary* userInfo = [NSDictionary dictionaryWithObject:[NSString stringWithFormat:@"%@ does not appear to be a git repository.", [self fileURL].absoluteString]
120120
forKey:NSLocalizedRecoverySuggestionErrorKey];
121121
*outError = [NSError errorWithDomain:PBGitRepositoryErrorDomain code:0 userInfo:userInfo];
122122
}

0 commit comments

Comments
 (0)