Skip to content

Commit 834b311

Browse files
authored
Merge pull request #677 from tiennou/release/0.14.2
Release 0.14.2
2 parents c294035 + 40d78df commit 834b311

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

External/libgit2

Submodule libgit2 updated 80 files

External/openssl

Submodule openssl updated 130 files

ObjectiveGit/GTCredential.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ + (instancetype)credentialWithUserName:(NSString *)userName publicKeyString:(NSS
7777
git_cred *cred;
7878
int gitError = git_cred_ssh_key_memory_new(&cred, userName.UTF8String, publicKeyString.UTF8String, privateKeyString.UTF8String, passphrase.UTF8String);
7979
if (gitError != GIT_OK) {
80-
if (error) *error = [NSError git_errorFor:gitError description:@"Failed to create credentials object" failureReason:@"There was an error creating a credential object for username %@ with the provided public/private key pair.\nPublic key: %@\nPrivate key: %@", userName, publicKeyString, privateKeyString];
80+
if (error) *error = [NSError git_errorFor:gitError description:@"Failed to create credentials object" failureReason:@"There was an error creating a credential object for username %@ with the provided public/private key pair.\nPublic key: %@", userName, publicKeyString];
8181
return nil;
8282
}
8383

ObjectiveGit/GTRemote.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ - (NSString *)description {
104104
+ (BOOL)isValidRemoteName:(NSString *)name {
105105
NSParameterAssert(name != nil);
106106

107-
return git_remote_is_valid_name(name.UTF8String) == GIT_OK;
107+
return (git_remote_is_valid_name(name.UTF8String) == 1 ? YES : NO);
108108
}
109109

110110
#pragma mark Properties

ObjectiveGitFramework.xcodeproj/project.pbxproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,6 @@
365365
F8D1BDEF1B31FE7C00CDEC90 /* GTRepository+Pull.h in Headers */ = {isa = PBXBuildFile; fileRef = F8D1BDEC1B31FE7C00CDEC90 /* GTRepository+Pull.h */; settings = {ATTRIBUTES = (Public, ); }; };
366366
F8D1BDF01B31FE7C00CDEC90 /* GTRepository+Pull.m in Sources */ = {isa = PBXBuildFile; fileRef = F8D1BDED1B31FE7C00CDEC90 /* GTRepository+Pull.m */; };
367367
F8D1BDF11B31FE7C00CDEC90 /* GTRepository+Pull.m in Sources */ = {isa = PBXBuildFile; fileRef = F8D1BDED1B31FE7C00CDEC90 /* GTRepository+Pull.m */; };
368-
F8D6384B207A618D00D1FD32 /* script in Resources */ = {isa = PBXBuildFile; fileRef = F8D6384A207A618D00D1FD32 /* script */; };
369368
F8D6385C207AC74A00D1FD32 /* libiconv.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = F8D6385B207AC74A00D1FD32 /* libiconv.tbd */; };
370369
F8D6385D207AC75100D1FD32 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 23BB67BB1C7DF45300A37A66 /* libz.tbd */; };
371370
F8D6385F207ACAE600D1FD32 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = F8D6385E207ACAE600D1FD32 /* libz.tbd */; };
@@ -1343,7 +1342,6 @@
13431342
buildActionMask = 2147483647;
13441343
files = (
13451344
8DC2EF530486A6940098B216 /* InfoPlist.strings in Resources */,
1346-
F8D6384B207A618D00D1FD32 /* script in Resources */,
13471345
);
13481346
runOnlyForDeploymentPostprocessing = 0;
13491347
};

0 commit comments

Comments
 (0)