Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ObjectiveGit/GTCredential.m
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ - (GTCredential *)credentialForType:(GTCredentialType)type URL:(NSString *)URL u
@end

@interface GTCredential ()
@property (nonatomic, assign, readonly) git_credential *git_cred;
@property (nonatomic, assign, readonly) git_credential *git_credential;
@end

@implementation GTCredential
Expand Down Expand Up @@ -91,7 +91,7 @@ - (instancetype)initWithGitCred:(git_credential *)cred {

if (self == nil) return nil;

_git_cred = cred;
_git_credential = cred;

return self;
}
Expand Down Expand Up @@ -119,6 +119,6 @@ int GTCredentialAcquireCallback(git_credential **cred, const char *url, const ch
return GIT_ERROR;
}

*cred = gtCred.git_cred;
*cred = gtCred.git_credential;
return GIT_OK;
}
2 changes: 1 addition & 1 deletion ObjectiveGit/GTRepository+Merging.m
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ - (NSString * _Nullable)contentsOfDiffWithAncestor:(GTIndexEntry *)ancestor ourS

// initialize our merge file input
git_merge_file_input ourInput;
gitError = git_merge_file_options_init(&ourInput, GIT_MERGE_FILE_INPUT_VERSION);
gitError = git_merge_file_input_init(&ourInput, GIT_MERGE_FILE_INPUT_VERSION);
if (gitError != GIT_OK) {
if (error != NULL) *error = [NSError git_errorFor:gitError description:@"Failed to create merge file input for our side"];
return nil;
Expand Down
Loading