Skip to content

Commit

Permalink
--warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Mar 17, 2012
1 parent 8086d04 commit 03664e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PBGitRepository.m
Expand Up @@ -116,7 +116,7 @@ - (BOOL)readFromURL:(NSURL *)absoluteURL ofType:(NSString *)typeName error:(NSEr
NSURL* gitDirURL = [PBGitRepository gitDirForURL:[self fileURL]];
if (!gitDirURL) {
if (outError) {
NSDictionary* userInfo = [NSDictionary dictionaryWithObject:[NSString stringWithFormat:@"%@ does not appear to be a git repository.", [self fileName]]
NSDictionary* userInfo = [NSDictionary dictionaryWithObject:[NSString stringWithFormat:@"%@ does not appear to be a git repository.", [self fileURL].absoluteString]
forKey:NSLocalizedRecoverySuggestionErrorKey];
*outError = [NSError errorWithDomain:PBGitRepositoryErrorDomain code:0 userInfo:userInfo];
}
Expand Down

0 comments on commit 03664e0

Please sign in to comment.