make very sure ~/.beagle is in the skippedPaths
This commit is contained in:
parent
7d18c22142
commit
ef46cd8087
@ -109,7 +109,7 @@ bool FsIndexer::index()
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_walker.setSkippedPaths(m_config->getSkippedPaths());
|
m_walker.setSkippedPaths(m_config->getSkippedPaths());
|
||||||
|
m_walker.addSkippedPath(path_tildexpand("~/.beagle"));
|
||||||
for (list<string>::const_iterator it = m_tdl.begin();
|
for (list<string>::const_iterator it = m_tdl.begin();
|
||||||
it != m_tdl.end(); it++) {
|
it != m_tdl.end(); it++) {
|
||||||
LOGDEB(("FsIndexer::index: Indexing %s into %s\n", it->c_str(),
|
LOGDEB(("FsIndexer::index: Indexing %s into %s\n", it->c_str(),
|
||||||
@ -208,6 +208,7 @@ bool FsIndexer::indexFiles(list<string>& files)
|
|||||||
// We use an FsTreeWalker just for handling the skipped path/name lists
|
// We use an FsTreeWalker just for handling the skipped path/name lists
|
||||||
FsTreeWalker walker;
|
FsTreeWalker walker;
|
||||||
walker.setSkippedPaths(m_config->getSkippedPaths());
|
walker.setSkippedPaths(m_config->getSkippedPaths());
|
||||||
|
m_walker.addSkippedPath(path_tildexpand("~/.beagle"));
|
||||||
|
|
||||||
for (list<string>::iterator it = files.begin(); it != files.end(); ) {
|
for (list<string>::iterator it = files.begin(); it != files.end(); ) {
|
||||||
LOGDEB2(("FsIndexer::indexFiles: [%s]\n", it->c_str()));
|
LOGDEB2(("FsIndexer::indexFiles: [%s]\n", it->c_str()));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user