Skip to content

Commit 4327f69

Browse files
committed
Copy-paste error
1 parent 9cb1339 commit 4327f69

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Classes/git/PBGitRepository.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -710,8 +710,8 @@ - (BOOL)fetchRemoteForRef:(PBGitRef *)ref error:(NSError **)error
710710
NSError *taskError = nil;
711711
BOOL success = [task launchTask:&taskError];
712712
if (!success) {
713-
NSString *desc = NSLocalizedString(@"Fetch failed", @"PBGitRepository - push error description");
714-
NSString *reason = [NSString stringWithFormat:NSLocalizedString(@"An error occurred while fetching remote \"%@\".", @"PBGitRepostory - push error reason"), ref.remoteName];
713+
NSString *desc = NSLocalizedString(@"Fetch failed", @"PBGitRepository - fetch error description");
714+
NSString *reason = [NSString stringWithFormat:NSLocalizedString(@"An error occurred while fetching remote \"%@\".", @"PBGitRepostory - fetch error reason"), ref.remoteName];
715715
PBReturnError(error, desc, reason, taskError);
716716
}
717717

@@ -744,8 +744,8 @@ - (BOOL)pullBranch:(PBGitRef *)branchRef fromRemote:(PBGitRef *)remoteRef rebase
744744
NSError *taskError = nil;
745745
BOOL success = [task launchTask:error];
746746
if (!success) {
747-
NSString *desc = NSLocalizedString(@"Pull failed", @"PBGitRepository - push error description");
748-
NSString *reason = [NSString stringWithFormat:NSLocalizedString(@"An error occurred while pulling remote \"%@\" to \"%@\".", @"PBGitRepostory - push error reason"), remoteName, branchRef.shortName];
747+
NSString *desc = NSLocalizedString(@"Pull failed", @"PBGitRepository - pull error description");
748+
NSString *reason = [NSString stringWithFormat:NSLocalizedString(@"An error occurred while pulling remote \"%@\" to \"%@\".", @"PBGitRepostory - pull error reason"), remoteName, branchRef.shortName];
749749
PBReturnError(error, desc, reason, taskError);
750750
}
751751

0 commit comments

Comments
 (0)