Merge branch 'nd/switch-and-restore'
[gitweb.git] / revision.c
index be6ccf57861dda611dbf99efd1d0c8890537ca21..621feb9df716400f32d016e1d36fc368b6a884fb 100644 (file)
@@ -3265,6 +3265,9 @@ static void expand_topo_walk(struct rev_info *revs, struct commit *commit)
                struct commit *parent = p->item;
                int *pi;
 
+               if (parent->object.flags & UNINTERESTING)
+                       continue;
+
                if (parse_commit_gently(parent, 1) < 0)
                        continue;