diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2017-11-09 17:13:01 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2017-11-14 22:45:27 +0100 |
commit | 3e040c7196624938bd81439041a1fab4970ce0c4 (patch) | |
tree | ea5b3b540ac835661ab90cf3e42a965027c04675 /config.h.meson.in | |
parent | e810f4c5f67df20ce7047d9381fd7ad96d574dd2 (diff) | |
download | tracker-3e040c7196624938bd81439041a1fab4970ce0c4.tar.gz |
libtracker-miner: Avoid triggering content filters on configured roots
Folders being configured as indexing roots should win over any filter
that might apply. The basename based filters correctly skip configured
roots already, so do the same with the directory content filter.
The practical side effect is that .git folders are now allowed on the
directories configured in tracker-miner-fs (homedir and XDG dirs most
usually). Tracker tries to stay out of source code trees which are a
source of pointless grinding, but there's legit usecases to have these
folders under git management:
- User setups to bring in essential files across machines
- Collections managed through git-annex
Those are worth handling, even if the question also applies to folders
found recursively and the .git heuristic proves limited.
https://bugzilla.gnome.org/show_bug.cgi?id=790284
Diffstat (limited to 'config.h.meson.in')
0 files changed, 0 insertions, 0 deletions