summaryrefslogtreecommitdiff
path: root/revision.c
diff options
context:
space:
mode:
Diffstat (limited to 'revision.c')
-rw-r--r--revision.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/revision.c b/revision.c
index 9de92bb5e5..e1fa9b13b9 100644
--- a/revision.c
+++ b/revision.c
@@ -102,18 +102,6 @@ void mark_parents_uninteresting(struct commit *commit)
struct commit *commit = pop_commit(&parents);
while (commit) {
- /*
- * A missing commit is ok iff its parent is marked
- * uninteresting.
- *
- * We just mark such a thing parsed, so that when
- * it is popped next time around, we won't be trying
- * to parse it and get an error.
- */
- if (!commit->object.parsed &&
- !has_object_file(&commit->object.oid))
- commit->object.parsed = 1;
-
if (commit->object.flags & UNINTERESTING)
break;