We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dd20ba commit 6b4d2e0Copy full SHA for 6b4d2e0
ObjectiveGit/GTRepository+Pull.m
@@ -24,8 +24,8 @@ @implementation GTRepository (Pull)
24
#pragma mark - Pull
25
26
- (BOOL)pullBranch:(GTBranch *)branch fromRemote:(GTRemote *)remote withOptions:(NSDictionary *)options error:(NSError **)error progress:(GTRemoteFetchTransferProgressBlock)progressBlock {
27
- NSParameterAssert(branch);
28
- NSParameterAssert(remote);
+ NSParameterAssert(branch != nil);
+ NSParameterAssert(remote != nil);
29
30
GTRepository *repo = branch.repository;
31
0 commit comments