]> git.sesse.net Git - plocate/commit
Revert "In updatedb, check prunepaths _before_ opening the directory."
authorSteinar H. Gunderson <steinar+git@gunderson.no>
Fri, 12 Jan 2024 15:15:22 +0000 (16:15 +0100)
committerSteinar H. Gunderson <steinar+git@gunderson.no>
Fri, 12 Jan 2024 15:15:22 +0000 (16:15 +0100)
commita03412e91a80f762aff266a6c9e9a1f6f206942b
tree8c2fd41b70f565627bdee2601a99ee8ec1f28ed1
parent4696bbc48870f367ca6b03f0a1c17b270d647ab3
Revert "In updatedb, check prunepaths _before_ opening the directory."

This reverts commit 6e7991e5e0e043c412638c140cc9bb5610db4668.

David Caldwell pointed out that this breaks prunepaths that are not
directly on the root, since we now get /b before /a/a and this breaks
the expectation that the prunepaths list is iterated through in order.
updatedb.cpp