Commit e755c03d authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Match relativePath instead of full path

parent 2af8c602
......@@ -319,7 +319,7 @@ void KateProjectWorker::loadFilesEntry(QStandardItem *parent,
fullFilePath = dirPath + filePath;
for (const auto &excludePattern : excludeRegexps) {
if (excludePattern.match(fullFilePath).hasMatch()) {
if (excludePattern.match(filePath).hasMatch()) {
return;
}
}
......
Supports Markdown
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