@@ -45,7 +45,7 @@ @implementation GTIndexEntry
4545#pragma mark NSObject
4646
4747- (NSString *)description {
48- return [NSString stringWithFormat: @" <%@ : %p > path: %@ " , self .class, self , self .path];
48+ return [NSString stringWithFormat: @" <%@ : %p > path: %@ " , self .class, self , self .path];
4949}
5050
5151#pragma mark Lifecycle
@@ -58,7 +58,7 @@ - (instancetype)initWithGitIndexEntry:(const git_index_entry *)entry index:(GTIn
5858
5959 _git_index_entry = entry;
6060 _index = index;
61-
61+
6262 return self;
6363}
6464
@@ -92,7 +92,7 @@ - (GTIndexEntryStatus)status {
9292 } else if ((self.flags & GIT_IDXENTRY_REMOVE) != 0 ) {
9393 return GTIndexEntryStatusRemoved;
9494 }
95-
95+
9696 return GTIndexEntryStatusUpToDate;
9797}
9898
@@ -119,21 +119,18 @@ + (instancetype)objectWithIndexEntry:(GTIndexEntry *)indexEntry error:(NSError *
119119}
120120
121121- (instancetype )initWithIndexEntry : (GTIndexEntry *)indexEntry error : (NSError **)error {
122-
123122 git_object *obj;
124123 int gitError = git_object_lookup (&obj, indexEntry.repository .git_repository , indexEntry.OID .git_oid , (git_otype)GTObjectTypeAny);
125124
126125 if (gitError < GIT_OK) {
127126 if (error != NULL ) {
128- *error = [NSError git_errorFor: gitError description: @" Failed to get object for index entry." ];
127+ *error = [NSError git_errorFor: gitError description: @" Failed to get object for index entry." ];
129128 }
130129
131130 return nil ;
132131 }
133132
134-
135- return [self initWithObj: obj inRepository: indexEntry.repository];
133+ return [self initWithObj: obj inRepository: indexEntry.repository];
136134}
137135
138136@end
139-
0 commit comments