Skip to content

Commit f89275b

Browse files
committed
Rename git_remote_lookup to git_remote_load
1 parent 37bf060 commit f89275b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ObjectiveGit/GTConfiguration.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ - (NSArray *)remotes {
130130
const char *name = names.strings[i];
131131
git_remote *remote = NULL;
132132

133-
if (git_remote_load(&remote, repository.git_repository, name) == 0) {
133+
if (git_remote_lookup(&remote, repository.git_repository, name) == 0) {
134134
[remotes addObject:[[GTRemote alloc] initWithGitRemote:remote inRepository:repository]];
135135
}
136136
}

ObjectiveGit/GTRemote.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ + (instancetype)remoteWithName:(NSString *)name inRepository:(GTRepository *)rep
5050
NSParameterAssert(repo != nil);
5151

5252
git_remote *remote;
53-
int gitError = git_remote_load(&remote, repo.git_repository, name.UTF8String);
53+
int gitError = git_remote_lookup(&remote, repo.git_repository, name.UTF8String);
5454
if (gitError != GIT_OK) {
5555
if (error != NULL) *error = [NSError git_errorFor:gitError description:@"Remote loading failed" failureReason:nil];
5656

0 commit comments

Comments
 (0)