Skip to content

Commit 041586b

Browse files
author
Ben Chatelain
committed
Document nilablity
1 parent fe68065 commit 041586b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ObjectiveGit/GTRepository+RemoteOperations.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ extern NSString *const GTRepositoryRemoteOptionsCredentialProvider;
4949

5050
/// Push a single branch to a remote.
5151
///
52-
/// branch - The branch to push.
53-
/// remote - The remote to push to.
54-
/// options - Options applied to the push operation.
52+
/// branch - The branch to push. Must not be nil.
53+
/// remote - The remote to push to. Must not be nil.
54+
/// options - Options applied to the push operation. Can be NULL.
5555
/// Recognized options are:
5656
/// `GTRepositoryRemoteOptionsCredentialProvider`
5757
/// error - The error if one occurred. Can be NULL.
@@ -63,9 +63,9 @@ extern NSString *const GTRepositoryRemoteOptionsCredentialProvider;
6363

6464
/// Push an array of branches to a remote.
6565
///
66-
/// branches - An array of branches to push.
67-
/// remote - The remote to push to.
68-
/// options - Options applied to the push operation.
66+
/// branches - An array of branches to push. Must not be nil.
67+
/// remote - The remote to push to. Must not be nil.
68+
/// options - Options applied to the push operation. Can be NULL.
6969
/// Recognized options are:
7070
/// `GTRepositoryRemoteOptionsCredentialProvider`
7171
/// error - The error if one occurred. Can be NULL.

0 commit comments

Comments
 (0)