Skip to content

Commit 6e26104

Browse files
committed
We can always create from a git_oid.
1 parent 8428bfb commit 6e26104

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ObjectiveGit/GTOID.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ NS_ASSUME_NONNULL_BEGIN
2727
/// git_oid - The underlying git_oid. Cannot be NULL.
2828
///
2929
/// Returns the initialized receiver.
30-
- (nullable instancetype)initWithGitOid:(const git_oid *)git_oid NS_DESIGNATED_INITIALIZER;
30+
- (instancetype)initWithGitOid:(const git_oid *)git_oid NS_DESIGNATED_INITIALIZER;
3131

3232
/// Initializes the receiver by converting the given SHA to an OID.
3333
///
@@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN
6262
- (nullable instancetype)initWithSHACString:(const char *)string error:(NSError **)error NS_DESIGNATED_INITIALIZER;
6363

6464
/// Creates a new instance with the given git_oid using initWithGitOid:
65-
+ (nullable instancetype)oidWithGitOid:(const git_oid *)git_oid;
65+
+ (instancetype)oidWithGitOid:(const git_oid *)git_oid;
6666

6767
/// Creates a new instance from the given SHA string using initWithSHAString:
6868
+ (nullable instancetype)oidWithSHA:(NSString *)SHA;

0 commit comments

Comments
 (0)