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.
2 parents 90f0185 + 6374f3b commit 6fe2c65Copy full SHA for 6fe2c65
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