Skip to content

Commit 2096a36

Browse files
committed
fixup! revision: create mark_trees_uninteresting_dense()
1 parent e943a41 commit 2096a36

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

revision.c

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -212,21 +212,6 @@ static void add_children_by_path(struct repository *r,
212212
free_tree_buffer(tree);
213213
}
214214

215-
void mark_trees_uninteresting_dense(struct repository *r,
216-
struct oidset *trees)
217-
{
218-
struct object_id *oid;
219-
struct oidset_iter iter;
220-
221-
oidset_iter_init(trees, &iter);
222-
while ((oid = oidset_iter_next(&iter))) {
223-
struct tree *tree = lookup_tree(r, oid);
224-
225-
if (tree->object.flags & UNINTERESTING)
226-
mark_tree_contents_uninteresting(r, tree);
227-
}
228-
}
229-
230215
void mark_trees_uninteresting_sparse(struct repository *r,
231216
struct oidset *trees)
232217
{

revision.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,6 @@ void put_revision_mark(const struct rev_info *revs,
486486

487487
void mark_parents_uninteresting(struct rev_info *revs, struct commit *commit);
488488
void mark_tree_uninteresting(struct repository *r, struct tree *tree);
489-
void mark_trees_uninteresting_dense(struct repository *r, struct oidset *trees);
490489
void mark_trees_uninteresting_sparse(struct repository *r, struct oidset *trees);
491490

492491
/**

0 commit comments

Comments
 (0)