Skip to content

Commit 1c3fb8d

Browse files
committed
Review #239 - PBGitStash
Missing `[super init]`
1 parent 806aaad commit 1c3fb8d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Classes/git/PBGitStash.m

+5
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ @implementation PBGitStash
2121

2222
-(id)initWithRepository:(PBGitRepository *)repo stashOID:(git_oid)stash_id index:(size_t)index message:(NSString *)message
2323
{
24+
self = [super init];
25+
if (!self) {
26+
return nil;
27+
}
28+
2429
_index = index;
2530
_message = message;
2631

0 commit comments

Comments
 (0)