File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments