Skip to content

Commit ec9dbda

Browse files
committed
Fix Index entry initialization
1 parent 816a6cd commit ec9dbda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ObjectiveGit/GTIndex.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ - (GTIndexEntry *)entryAtIndex:(NSUInteger)index {
143143
const git_index_entry *entry = git_index_get_byindex(self.git_index, (unsigned int)index);
144144
if (entry == NULL) return nil;
145145

146-
return [[GTIndexEntry alloc] initWithGitIndexEntry:entry];
146+
return [[GTIndexEntry alloc] initWithGitIndexEntry:entry index:self error:NULL];
147147
}
148148

149149
- (GTIndexEntry *)entryWithName:(NSString *)name {

0 commit comments

Comments
 (0)