Commit ac2f9051 authored by Carlos Garnacho's avatar Carlos Garnacho

libtracker-miner: Avoid checking parent when checking contents

We check the parent folder (multiple times actually) before filtering
based on directory contents. Just avoid this here.
parent bf5be2ec
......@@ -929,12 +929,6 @@ tracker_indexing_tree_parent_is_indexable (TrackerIndexingTree *tree,
priv = tree->priv;
if (!tracker_indexing_tree_file_is_indexable (tree,
parent,
G_FILE_TYPE_DIRECTORY)) {
return FALSE;
}
while (children && !has_match) {
has_match = tracker_indexing_tree_file_matches_filter (tree,
TRACKER_FILTER_PARENT_DIRECTORY,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment