Skip to content

Commit

Permalink
Don't filter with exists_on_disk segments that were found as present …
Browse files Browse the repository at this point in the history
…in the index. refs: #279
  • Loading branch information
spanezz committed Nov 22, 2021
1 parent 5ea83f8 commit 785ca97
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arki/dataset/iseg/checker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -496,10 +496,6 @@ void Checker::segments_tracked_filtered(const Matcher& matcher, std::function<vo
{
list_segments(matcher, [&](const std::string& relpath) {
CheckerSegment segment(*this, relpath);
// See #279: directory segments that are empty directories are found by
// a filesystem scan, but are not considered segments
if (!segment.segment->exists_on_disk())
return;
dest(segment);
});
}
Expand Down

0 comments on commit 785ca97

Please sign in to comment.