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 90f0185 commit 6374f3bCopy full SHA for 6374f3b
ObjectiveGit/GTRemote.m
@@ -104,7 +104,7 @@ - (NSString *)description {
104
+ (BOOL)isValidRemoteName:(NSString *)name {
105
NSParameterAssert(name != nil);
106
107
- return git_remote_is_valid_name(name.UTF8String) == GIT_OK;
+ return (git_remote_is_valid_name(name.UTF8String) == 1 ? YES : NO);
108
}
109
110
#pragma mark Properties
0 commit comments