diff --git a/Classes/git/PBGitRevList.mm b/Classes/git/PBGitRevList.mm index 1baac9248..160f47078 100644 --- a/Classes/git/PBGitRevList.mm +++ b/Classes/git/PBGitRevList.mm @@ -130,12 +130,6 @@ - (void) addGitObject:(GTObject *)obj toCommitSet:(NSMutableSet *)set NSAssert(commit, @"Can't add nil commit to set"); - for (GTCommit *item in set) { - if ([item.OID isEqual:commit.OID]) { - return; - } - } - [set addObject:commit]; }